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

想实现首页路由固定在tabs,不允许卸载销毁怎么做呢? #91

Open
openScipt opened this issue Dec 6, 2022 · 2 comments

Comments

@openScipt
Copy link

No description provided.

@xiaohuoni xiaohuoni added the good first issue Good for newcomers label Dec 6, 2022
@MrHGinko
Copy link

MrHGinko commented Dec 6, 2022

有关这个问题

比如有一个场景, 我需要在关闭当前页面的时候提示 "有数据更改, 需要保存" 这种类似自定义的关闭事件.

目前的实现思路类似该题主, 也需要一个类似更新cachingNodes数据的情况, 需要自定义一个类似 isEdit 的状态放进对应的路由中.

目前已更新到npm中的 .35 版本, 仍无法导出 updateTab 方法, 检查相关ts文件也并未发现导出, 这个是需要等待下次更新吗 ?

@xiaohuoni xiaohuoni removed the good first issue Good for newcomers label Dec 6, 2022
@xiaohuoni
Copy link
Member

updateTab

我看错仓库了。这个包没有这个功能

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

3 participants