wepy2.0点击事件bug

问题:does not have a method “_proxy” to handle event “tap”.
有可能是版本问题,修改package.json
https://github.com/Tencent/wepy/issues/2553
修改前:

"dependencies": {
    "@vant/weapp": "^1.3.2",
    "@wepy/core": "^2.0.0-alpha.16", // 这里
    "@wepy/x": "^2.0.2",
    "miniprogram-slide-view": "0.0.3"
  },

修改后:

"dependencies": {
    "@vant/weapp": "^1.3.2",
    "@wepy/core": "2.0.0-alpha.14", // 修改为14,注意前边的尖号要去掉
    "@wepy/x": "^2.0.2",
    "miniprogram-slide-view": "0.0.3"
  },

你可能感兴趣的:(微信小程序)