日常开发记录- [Vue warn]:data functions should return an object: https://vuejs.org/v2/guide/...+[Vue warn]:Property "visible" must be accessed with "$data.visible" beacuse proprties starting with "$"

可能原因:在接口的错误捕获写了 .catch{ e => this.$message.error(e)}

this.$message.error("") 只能写 String 类型的值, e 是Object 类型,所以会报错。。。

posted on 2022-08-26 17:42  法老的微笑  阅读(160)  评论(0)    收藏  举报