若是Xinput用v-model双向绑定的值为null就有可能会报error in callback for watcher "currentValuel":TypeError: Cannot read property 'length.因为组件需要绑定的是一个字符串.
所以在请求接口返回值那里加上res.usename || ''
vux的Xinput组件报错:error in callback for watcher "currentValuel":TypeError: Cannot read property 'length
最新推荐文章于 2023-06-27 11:52:17 发布