refactor(web): tab 页改为离开销毁

不然每个 tab 页都会在背地里访问 url,造成服务压力
This commit is contained in:
2023-06-02 09:12:25 +08:00
parent cd676367c6
commit 6af04ce1f6
2 changed files with 2 additions and 0 deletions

View File

@@ -5,6 +5,7 @@ function yarnClusterTab() {
{
type: 'tabs',
mountOnEnter: true,
unmountOnExit: true,
tabsMode: 'line',
tabs: [
{

View File

@@ -52,6 +52,7 @@
body: {
type: 'tabs',
mountOnEnter: true,
unmountOnExit: true,
tabsMode: 'strong',
tabs: [
// logTab(),