DMQ / mvvm

剖析vue实现原理,自己动手实现mvvm

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

对表达式的支持有缺陷

crazyyuan opened this issue · comments

commented

例如:{{someStr+child.someStr}},这种直接报错,应该是挺常见的,computed可以解决。
如果我扩展了for指令,表达式里会用到局部的index变量,就没办法解析了。