Browse Source
fix(keep-alive): disabler (#2101)
Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
pull/2112/head
BlackTooth
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with
1 additions and
4 deletions
-
src/layouts/page/index.vue
-
src/views/demo/table/Basic.vue
|
|
|
@ -15,9 +15,7 @@ |
|
|
|
appear |
|
|
|
> |
|
|
|
<keep-alive v-if="openCache" :include="getCaches"> |
|
|
|
<div :key="route.name"> |
|
|
|
<component :is="Component" :key="route.fullPath" /> |
|
|
|
</div> |
|
|
|
<component :is="Component" :key="route.fullPath" /> |
|
|
|
</keep-alive> |
|
|
|
<div v-else :key="route.name"> |
|
|
|
<component :is="Component" :key="route.fullPath" /> |
|
|
|
|
|
|
|
@ -61,7 +61,6 @@ |
|
|
|
function handleColumnChange(data: ColumnChangeParam[]) { |
|
|
|
console.log('ColumnChanged', data); |
|
|
|
} |
|
|
|
|
|
|
|
return { |
|
|
|
columns: getBasicColumns(), |
|
|
|
data: getBasicData(), |
|
|
|
|