2407439@qq.com
2407439@qq.com
  • 发布:2019-08-26 10:56
  • 更新:2020-02-16 19:36
  • 阅读:901

【报Bug】2.2.4.20190823.alpha报错

分类:uni-app

10:50:34.065 Module Error (from ./node_modules/vue-loader/lib/loaders/templateLoader.js):
10:50:34.065 (Emitted value instead of an instance of Error)
10:50:34.078 Errors compiling template:
10:50:34.182 :value="userName" conflicts with v-model on the same element because the latter already expands to a value binding internally
10:50:34.201 19 | 昵称
10:50:34.225 20 |
10:50:34.245 21 |
10:50:34.247 | ^^^^^^^^^^^^^^^^^
10:50:34.273 22 | <text class='cuIcon-infofill text-blue' @tap="popInputMessage()">
10:50:34.291 23 |
10:50:34.292 :value="declaration" conflicts with v-model on the same element because the latter already expands to a value binding internally
10:50:34.307 33 |
10:50:34.308 34 | 个性签名
10:50:34.329 35 |
10:50:34.330 | ^^^^^^^^^^^^^^^^^^^^
10:50:34.355 36 |
10:50:34.356 37 |
10:50:34.379 ERROR Build failed with errors.

正式版一样的代码不报这个错误 conflicts with v-model on the same element because the latter already expands to a value binding internally

2019-08-26 10:56 负责人:无 分享
已邀请:
2407439@qq.com

2407439@qq.com (作者)

编译出来样式乱了

DCloud_UNI_WYQ

DCloud_UNI_WYQ

可以把能复现问题的代码发出来

  • 2407439@qq.com (作者)

    <input :value="nickName" :v-model="detail.nickName" ></input> 只要value跟v-model同时存在就报错,另外224A版本还出现wxss问题(Some selectors are not allowed in component wxss),我现在已经退回222正式版,224解决了android invoke问题,我只使用他打出来的基座,现在回到222上再次编译不会出现那些报错,但会弹窗提醒基座222跟224版本不一致

    2019-08-26 12:51

yourapis

yourapis

我也是遇到这问题,但我的是最新的HBX。9月20日升级的最新版。

靖墨如霖

靖墨如霖 - 90后it

我今天更新了,编译uniapp-微信小程序也报错:
14:34:24.240 当前项目编译模式:自定义组件模式。编译模式差异见:https://ask.dcloud.net.cn/article/35843
14:34:36.994 Module Error (from ./node_modules/@dcloudio/vue-cli-plugin-hbuilderx/packages/webpack-uni-nvue-loader/lib/templateLoader.js):
14:34:36.998 (Emitted value instead of an instance of Error)
14:34:36.998 Errors compiling template:
14:34:37.000 :value="phone" conflicts with v-model on the same element because the latter already expands to a value binding internally
14:34:37.001 11 |
14:34:37.003 12 | 联系电话:
14:34:37.003 13 |
14:34:37.007 | ^^^^^^^^^^^^^^
14:34:37.009 14 |
14:34:37.009 15 |
14:34:37.012 ERROR Build failed with errors.

报错位置: value="phone" conflicts with v-model on the same element because the latter already expands to a value binding internally
15267019551@163.com

15267019551@163.com - 90后IT

我前几天升级之后也的报这个错

DCloud_UNI_WYQ

DCloud_UNI_WYQ

为什么同时在一个标签上用 v-model 和 :value呢

1973240606@qq.com

1973240606@qq.com

想知道怎么解决

要回复问题请先登录注册