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

feat: add tabs layout #337

Merged
merged 2 commits into from
Jun 15, 2022
Merged

feat: add tabs layout #337

merged 2 commits into from
Jun 15, 2022

Conversation

xiaohuoni
Copy link
Member

增加多tabs布局,该功能依赖于 keepalive 插件和 antd 插件,请配套使用。

// 所有页面都会被状态保持,或者选择性的配置状态保持
keepalive: [/./],
tabsLayout: {},
antd: {},

逻辑是只有被标记状态保持的页面,会被多 tabs 处理,如果没有标记状态保持的页面,将会被当成非 tabs 页面处理。

image

@changeset-bot
Copy link

changeset-bot bot commented Jun 15, 2022

🦋 Changeset detected

Latest commit: fbfa44f

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 3 packages
Name Type
alita Patch
@alita/plugins Patch
@alita/native Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@xiaohuoni xiaohuoni merged commit 868769a into master Jun 15, 2022
@xiaohuoni xiaohuoni deleted the feat-tabs-layout branch June 15, 2022 15:22
This was referenced Jun 15, 2022
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.

1 participant