Commit 6e391af3fef5cf058d7d866ff941fb744d314d61
Committed by
GitHub
1 parent
7925c1ea
fix(keep-alive): disabler (#2101)
Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
Showing
2 changed files
with
1 additions
and
4 deletions
src/layouts/page/index.vue
@@ -15,9 +15,7 @@ | @@ -15,9 +15,7 @@ | ||
15 | appear | 15 | appear |
16 | > | 16 | > |
17 | <keep-alive v-if="openCache" :include="getCaches"> | 17 | <keep-alive v-if="openCache" :include="getCaches"> |
18 | - <div :key="route.name"> | ||
19 | - <component :is="Component" :key="route.fullPath" /> | ||
20 | - </div> | 18 | + <component :is="Component" :key="route.fullPath" /> |
21 | </keep-alive> | 19 | </keep-alive> |
22 | <div v-else :key="route.name"> | 20 | <div v-else :key="route.name"> |
23 | <component :is="Component" :key="route.fullPath" /> | 21 | <component :is="Component" :key="route.fullPath" /> |
src/views/demo/table/Basic.vue
@@ -61,7 +61,6 @@ | @@ -61,7 +61,6 @@ | ||
61 | function handleColumnChange(data: ColumnChangeParam[]) { | 61 | function handleColumnChange(data: ColumnChangeParam[]) { |
62 | console.log('ColumnChanged', data); | 62 | console.log('ColumnChanged', data); |
63 | } | 63 | } |
64 | - | ||
65 | return { | 64 | return { |
66 | columns: getBasicColumns(), | 65 | columns: getBasicColumns(), |
67 | data: getBasicData(), | 66 | data: getBasicData(), |