之前遇到这个问题,发现是因为没有在局部组件中调用data(){return{message:" ahhaha" }}
01-遇到的问题Property or method “message” is not defined on the instance but referenced during render.
生生灯火,明暗无辄。
首页 > 技术文章 > 01-遇到的问题Property or method “message” is not defined on the instance but referenced during render.
Romantic-Blood 2019-06-22 09:55 原文
之前遇到这个问题,发现是因为没有在局部组件中调用data(){return{message:" ahhaha" }}