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

带有 namespace 时 setData 范围过大 #34

Open
lei1248276 opened this issue Apr 4, 2023 · 1 comment
Open

带有 namespace 时 setData 范围过大 #34

lei1248276 opened this issue Apr 4, 2023 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@lei1248276
Copy link

研究了半天我发现storeBindings在设置了namespace以后调用仓库任意一个action方法后会导致所有的观察数据全部更新。

@lei1248276 lei1248276 reopened this Apr 4, 2023
@LastLeaf LastLeaf self-assigned this May 15, 2024
@LastLeaf
Copy link
Member

LastLeaf commented May 15, 2024

目前的实现原理是 namespace 所有 fields 上会被 setData 到同一个字段上。

可以考虑改一下这个行为。

@LastLeaf LastLeaf added the bug Something isn't working label May 15, 2024
@LastLeaf LastLeaf changed the title BUG:数据会异常更新 带有 namespace 时 setData 范围过大 May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants