<div class="l-captcha" data-site-key="***********" data-callback="getResponse"></div>
在vue的 **created method **写:
window.getResponse = (resp)=>{
console.log('get a callback');
}
文章标签 vue luosimao 人机验证 data-callback 文章分类 JavaScript 前端开发
<div class="l-captcha" data-site-key="***********" data-callback="getResponse"></div>
在vue的 **created method **写:
window.getResponse = (resp)=>{
console.log('get a callback');
}
上一篇:选项卡效果
Vue中有2种数据绑定的方式:1. 单向绑定(v-bind): 数据只能从data流向页面。2. 双向绑定(v-model): 数据不仅能从data
Vue 绑定样式
vue for 绑定事件
举报文章
请选择举报类型
补充说明
0/200
上传截图
格式支持JPEG/PNG/JPG,图片不超过1.9M