bue icon indicating copy to clipboard operation
bue copied to clipboard

模仿vue写一个MVVM框架

Results 2 bue issues
Sort by recently updated
recently updated
newest added

> exports.getVm = function (data) { > return data[this.id]; > }; > > exports.cacheVm = function (data, vm) { > data[this.id] = vm; > }; 此时this.id为什么可以获得`repeat实例的id`,我理解现在this不是指向现在的模板吗?请大佬解释下。

如果是空白文本内容,如: ``` ``` 这样,那么不需要做一次parseText