![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
vue
Wu hello world!
请各位大神指教
展开
-
VUE 经典
vue 的双向绑定的原理vue数据双向绑定是通过数据劫持结合发布者-订阅者模式的方式来实现的。具体实现过程:我们已经知道实现数据的双向绑定,首先要对数据进行劫持监听,所以我们需要设置一个监听器Observer,用来监听所有属性。如果属性发上变化了,就需要告诉订阅者Watcher看是否需要更新。因为订阅者是有很多个,所以我们需要有一个消息订阅器Dep来专门收集这些订阅者,然后在监听器Observer和订阅者Watcher之间进行统一管理的。接着,我们还需要有一个指令解析器Compile,对每个节点元素进行转载 2020-09-15 14:18:01 · 100 阅读 · 0 评论 -
3.(Vue 问题记录:data定义问题)
[Vue warn]: Property or method “tableData” 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:******解决方式:查看原创 2020-09-01 13:31:07 · 496 阅读 · 0 评论 -
2. (弱智问题)
[Vue warn]: Property or method “f” 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一个弱智的错误(粗心大意)...原创 2020-08-31 18:36:23 · 404 阅读 · 0 评论