环境: uniapp开发微信小程序
问题:
console.log(this),控制台打印
$refs: [Exception: TypeError: Cannot read property 'ref' of undefined at weapp:///http://127.0.0.1:48073/appservice/common/vendor.js?t=wechat&s=.....
console.log(this.$refs),控制台打印
TypeError: Cannot read property 'ref' of undefined
原因:
使用插件t-captcha,标签中不能使用 ref