"style" is not defined on the instance
来源:6-2 notification之通过方法调用

wsq_wsq
2021-04-26
老师,我写notification,调用的的时候 一直报这个错,
Property or method “style” is not defined on the instance but referenced during render
我代码里面都声明了这属性
写回答
2回答
-
你在mounted里面写方法?methods写错了吧?
112021-04-26 -
wsq_wsq
提问者
2021-04-26
老师,我知道你意思了,我把style写错地方了,应该写到computed里面。谢谢
10
相似问题