手动实现vue的双向数据绑定 实现原理:在vue2.0中是利用了Object.defineProperty()这个方法重新定义了对象的获取属性值(get)和设置属性值(set)的操作来实现的。 但是在vue3.0中,是利用了es6的Proxy对象来实现的。
-
Notifications
You must be signed in to change notification settings - Fork 0
shjames/vue_mvvm
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|