根据状态限制页面跳转到其他选项的方法
使用操作 223
-
shao数式Oinone (oinone.top),专注解决复杂场景的开源低代码平台评论
同路由的页面不会主动刷新数据的,加个代码就好了
参考
onst onRefreshTabWithActive = (manager: MultiTabsManager, instance: MultiTabInstance) => {
// 进入路由后刷新页面数据
manager.refresh(instance.key);
manager.clearOnActive(onRefreshTabWithActive);
};MultiTabsManager.INSTANCE.onActive(onRefreshTabWithActive);
执行 executeViewAction 前加这个代码
10个月前