mirror of
https://gitee.com/dapppp/ruoyi-plus-vben5.git
synced 2026-03-16 23:32:01 +08:00
fix: keepAlive not working for popup appendToMain (#5666)
* 修复弹窗和抽屉 `appendToMain` 时且启用`keepAlive` 时未能正确缓存的问题
This commit is contained in:
@@ -213,6 +213,7 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('#/views/examples/modal/index.vue'),
|
||||
meta: {
|
||||
icon: 'system-uicons:window-content',
|
||||
keepAlive: true,
|
||||
title: $t('examples.modal.title'),
|
||||
},
|
||||
},
|
||||
@@ -222,6 +223,7 @@ const routes: RouteRecordRaw[] = [
|
||||
component: () => import('#/views/examples/drawer/index.vue'),
|
||||
meta: {
|
||||
icon: 'iconoir:drawer',
|
||||
keepAlive: true,
|
||||
title: $t('examples.drawer.title'),
|
||||
},
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user