cocos_creator_mvvm_tools
cocos_creator_mvvm_tools copied to clipboard
bindPath只能指定到具体的字段吗?
我使用的VMParent来自己控制UI
VM.setValue("group.groupMyInfo.nextAdTime", 123)
如果这样变化数据, 那bindPath "group.groupMyInfo.nextAdTime” 就可以监听到数据变化。
但是如果: VM.setValue("group.groupMyInfo", $groupMyInfo ) 也就是直接设置一个json Object 那 bindPath "group.groupMyInfo” 就会监听不到变化。
请问为什么呢? 我应该如果解决