Skip to content

feat: 支持数据源事件 #605

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

Merged
merged 10 commits into from
May 13, 2024

Conversation

qwertyyb
Copy link
Contributor

  1. 抽象出 ObservedData,把原 dataSource 中的 data 封装为 SimpleObservedData,通过 setData(data, path) 改变数据时,可监听 path 路径值的变化,不可监听 setData({ path: 'xxx' }) 此种方式的数据更新。
  2. 封装 DeepObservedData,补足 SimpleObservedData 的能力。
  3. 支持数据源事件配置,可监听数据源数据变化

@jia000 jia000 merged commit 88c04c6 into Tencent:master May 13, 2024
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

Successfully merging this pull request may close these issues.

2 participants