使用es6的proxy实现vue的双向绑定

实现v-model v-bind v-click github: https://github.com/myh6666/vvvue/blob/master/src/vue/vue.jsjavascript export default class Vue { constructor(option) { if (!option.el) return; this.$el = doc
相关文章
相关标签/搜索