0
点赞
收藏
分享

微信扫一扫

uniapp 小程序 vue TypeError: Cannot read property ‘toString‘ of undefined

小月亮06 2023-07-13 阅读 19

在这里插入图片描述

是因为对字符串使用toString的时候页面中的数据还没有加载 。

错误代码:
在这里插入图片描述

可以使用 v-if
修改为:
在这里插入图片描述

举报

相关推荐

0 条评论