9***@qq.com
9***@qq.com
  • 发布:2021-04-08 16:27
  • 更新:2022-05-31 10:23
  • 阅读:892

uniapp引入vantweapp button组件报错,编辑工具webstorm

分类:uni-app

version.js:3 Uncaught TypeError: Cannot read property 'split' of undefined
at compareVersion (version.js:3)
at gte (version.js:26)
at canIUseFormFieldButton (version.js:32)
at Object.eval (index.vue:30)
at eval (index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-scoped-loader/index.js!./src/wxcomponents/vant/button/index.vue?vue&type=script&lang=js&:104)
at Object../node_modules/babel-loader/lib/index.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-uni-app-loader/using-components.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/index.js?!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-scoped-loader/index.js!./src/wxcomponents/vant/button/index.vue?vue&type=script&lang=js& (index.js:2411)
at __webpack_require__ (index.js:854)
at fn (index.js:151)
at eval (null:1)
at Module../src/wxcomponents/vant/button/index.vue?vue&type=script&lang=js& (index.js:2958)

2021-04-08 16:27 负责人:无 分享
已邀请:
简简单单的幸运

简简单单的幸运 - app流量卡

我也遇到一样的问题,怎么解决,求教

该问题目前已经被锁定, 无法添加新回复