vue-typescript-admin-template icon indicating copy to clipboard operation
vue-typescript-admin-template copied to clipboard

开启devtool插件后,控制台报Property or method "then" is not defined on the instance but referenced during render

Open huasun47 opened this issue 6 years ago • 3 comments

只要开启devtool就报错,不开启就不报。但功能都可以正常使用 这个问题纠结了好久,找了好久都不知道怎么解决。 devtool版本是 5.3.2 我发现报错是在 afterEach之后和一个单个组件的beforeCreate之前 这段时间里,每次切换路由的时候都会有500多条这种同样都错误, 只有在layout下都才会发生。login ,401,404 都没问题 😫,求助!!l

huasun47 avatar Nov 13 '19 08:11 huasun47

错误信息 Property or method "then" is not defined on the instance but referenced during render. Make sure that this property is reactive, either in the data option, or for class-based components, by initializing the property

huasun47 avatar Nov 14 '19 05:11 huasun47

这个问题好像只会在是mac系统上的devChrome上出现, 用了mac的firefox,和windows的没有这个问题。 总之这个问题挺稀有的。换浏览器😂算是个解决办法吧

huasun47 avatar Nov 14 '19 13:11 huasun47

现在还有么 没看到有别人反馈这个问题

Armour avatar Nov 08 '20 02:11 Armour