v-bind="$attrs" 对v-model失效,获取不到v-model绑定的值。
时间:2021-09-08 18:59:42
收藏:0
阅读:38
项目中用到的vue版本是 2.4.4 需要升级到2.6.10
将package.json中
"vue": "2.4.4",
"vue-template-compiler": "2.4.4"
修改为
"vue": "^2.6.10",
"vue-template-compiler": "^2.6.10"
原文:https://www.cnblogs.com/m7777/p/15239630.html
评论(0)