🎨 调整 keep-alive 策略
This commit is contained in:
parent
1be61d65e3
commit
fdbdfe29d4
@ -4,7 +4,7 @@
|
|||||||
<header-view/>
|
<header-view/>
|
||||||
</el-header>
|
</el-header>
|
||||||
<el-main>
|
<el-main>
|
||||||
<nuxt keep-alive/>
|
<nuxt/>
|
||||||
</el-main>
|
</el-main>
|
||||||
<el-footer height="5rem">
|
<el-footer height="5rem">
|
||||||
<footer-view/>
|
<footer-view/>
|
||||||
|
@ -23,7 +23,8 @@
|
|||||||
:name="item.name"
|
:name="item.name"
|
||||||
:closable="item.closable"
|
: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-tab-pane>
|
||||||
</el-tabs>
|
</el-tabs>
|
||||||
</el-col>
|
</el-col>
|
||||||
|
Loading…
Reference in New Issue
Block a user