1
0
Эх сурвалжийг харах

fix(keep-alive): disabler (#2101)

Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
BlackTooth 2 жил өмнө
parent
commit
6e391af3fe

+ 1 - 3
src/layouts/page/index.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" />

+ 0 - 1
src/views/demo/table/Basic.vue

@@ -61,7 +61,6 @@
       function handleColumnChange(data: ColumnChangeParam[]) {
         console.log('ColumnChanged', data);
       }
-
       return {
         columns: getBasicColumns(),
         data: getBasicData(),