微信小程序
https://github.com/zyq190308/taro-vue-demo
小程序基础库: 2.13.1
使用框架: Vue 2
,通过这种方式触发授权并且同意后,onGetUserInfo没有触发,Vue2没反应,看了react版本的是正常的
期望触发回调
回调没触发
Taro v3.0.14
Taro CLI 3.0.14 environment info:
System:
OS: macOS 10.15.6
Shell: 5.7.1 - /bin/zsh
Binaries:
Node: 14.9.0 - ~/.nvm/versions/node/v14.9.0/bin/node
Yarn: 1.22.5 - ~/.yarn/bin/yarn
npm: 6.14.8 - ~/.nvm/versions/node/v14.9.0/bin/npm
npmPackages:
@tarojs/components: 3.0.14 => 3.0.14
@tarojs/mini-runner: 3.0.14 => 3.0.14
@tarojs/runtime: 3.0.14 => 3.0.14
@tarojs/taro: 3.0.14 => 3.0.14
@tarojs/webpack-runner: 3.0.14 => 3.0.14
babel-preset-taro: 3.0.14 => 3.0.14
eslint-config-taro: 3.0.14 => 3.0.14
同样的问题。
触发方法为 @getuserinfo="func"
Most helpful comment
同样的问题。
触发方法为
@getuserinfo="func"