小程序性开发引入腾讯验证码插件时出现错误
// app.json "plugins": {
"captcha": {
"version": "2.1.0",
"provider": "wx1fe8d9a3cb067a75"
}
}
// index.json {
"usingComponents": {
"t-captcha": "plugin://captcha/t-captcha"
}
}
抛出异常"plugin://wx1fe8d9a3cb067a75/t-captcha" has been used as another component or page. Please do not register multiple components or pages with the same alias.(env: Windows,mp,1.06.2405102; lib: 3.4.2) 每点击一次编译就会出现一次报错,但是清除缓存后首次点击编译不会出现错误。