项目使用了vue-layer,但是在Edge浏览器下报错,
[Vue warn]: Property or method "*this*" 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. See: https://vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.
(found in <Root>)
eval code (4719) (592,7)
[Vue warn]: Error in render: "TypeError: Unable to get property '$data' of undefined or null reference"
(found in <Root>)
eval code (4719) (592,7)
[object Error]: {description: "Unable to get property '$data' of undefined or null reference", message: "Unable to get property '$data' of undefined or null reference", number: -2146823281, stack: "TypeError: Unable to get property '$data' of undefined or null reference at Function code (Function code:1:63) at Vue.prototype._render (eval code:4543:7) at updateComponent (eval code:2787:7) at get (eval code:3141:5) at Watcher (eval code:3128:3) at mountComponent (eval code:2794:3) at Vue.prototype.$mount (eval code:8539:3) at Vue.prototype.$mount (eval code:10938:3) at u.open (eval code:1:1041) at u.tips (eval code:1:2459)"}
description: "Unable to get property '$data' of undefined or null reference"
message: "Unable to get property '$data' of undefined or null reference"
number: -2146823281
stack: "TypeError: Unable to get property '$data' of undefined or null reference at Function code (Function code:1:63) at Vue.prototype._render (eval code:4543:7) at updateComponent (eval code:2787:7) at get (eval code:3141:5) at Watcher (eval code:3128:3) at mountComponent (eval code:2794:3) at Vue.prototype.$mount (eval code:8539:3) at Vue.prototype.$mount (eval code:10938:3) at u.open (eval code:1:1041) at u.tips (eval code:1:2459)"
__proto__: Object
这是怎么回事么?该怎么解决?
请问你解决了吗? 我也遇到同样问题