Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bindPath只能指定到具体的字段吗? #14

Open
yuanshuli11 opened this issue Jul 6, 2022 · 0 comments
Open

bindPath只能指定到具体的字段吗? #14

yuanshuli11 opened this issue Jul 6, 2022 · 0 comments

Comments

@yuanshuli11
Copy link

我使用的VMParent来自己控制UI

VM.setValue("group.groupMyInfo.nextAdTime", 123)

如果这样变化数据, 那bindPath "group.groupMyInfo.nextAdTime” 就可以监听到数据变化。

但是如果:
VM.setValue("group.groupMyInfo", $groupMyInfo )
也就是直接设置一个json Object 那
bindPath "group.groupMyInfo” 就会监听不到变化。

请问为什么呢? 我应该如果解决

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant