header组件中 使用classMap时报错
来源:

qq_爆米花配可乐_0
2016-12-05
错误提示: Property or method "classMap" is not defined on the instance but referenced during render. Make sure to declare reactive data properties in the data option.
写回答
1回答
-
ustbhuangyi
2016-12-06
需要在 created 钩子里定义 this.classMap,仔细看视频喔同学~
012016-12-07
相似问题