通过Object.defineProperty的get,set实现,demo中使用的是callback(),数据双向绑定,替换为*订阅()*即可~
-
Notifications
You must be signed in to change notification settings - Fork 0
zhangximufeng/vue-mvvm-core
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
vue双向数据绑定实现原理
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published