lowcode-engine icon indicating copy to clipboard operation
lowcode-engine copied to clipboard

如何实现全局状态管理?

Open starsoul666 opened this issue 2 years ago • 2 comments

现在有没有提供全局状态管理的能力,比如全局设置了loading状态,Page下的组件都能获取到这个状态,应该如何实现这个需求呀? 在Page下设置一个自定义的Context是可以实现的,但是以前的schema都要修改,有没有更好的方案?

starsoul666 avatar Dec 11 '23 03:12 starsoul666

您说的 page 指的是什么呢

1ncounter avatar Dec 11 '23 04:12 1ncounter

image 页面容器Page

starsoul666 avatar Dec 11 '23 06:12 starsoul666