🎨 调整 keep-alive 策略
This commit is contained in:
parent
1be61d65e3
commit
fdbdfe29d4
@ -4,7 +4,7 @@
|
||||
<header-view/>
|
||||
</el-header>
|
||||
<el-main>
|
||||
<nuxt keep-alive/>
|
||||
<nuxt/>
|
||||
</el-main>
|
||||
<el-footer height="5rem">
|
||||
<footer-view/>
|
||||
|
@ -23,7 +23,8 @@
|
||||
:name="item.name"
|
||||
:closable="item.closable"
|
||||
>
|
||||
<nuxt-child keep-alive :keep-alive-props="{exclude: ['login', 'register', 'admin-dashboard'],max: 10}"/>
|
||||
<nuxt-child keep-alive
|
||||
:keep-alive-props="{include: editableTabs}"/>
|
||||
</el-tab-pane>
|
||||
</el-tabs>
|
||||
</el-col>
|
||||
|
Loading…
Reference in New Issue
Block a user