Unverified 提交 6e391af3 作者: BlackTooth 提交者: GitHub

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

Co-authored-by: 隆杰 <longjie.li@taxsoyea.net>
上级 7925c1ea
...@@ -15,9 +15,7 @@ ...@@ -15,9 +15,7 @@
appear appear
> >
<keep-alive v-if="openCache" :include="getCaches"> <keep-alive v-if="openCache" :include="getCaches">
<div :key="route.name">
<component :is="Component" :key="route.fullPath" /> <component :is="Component" :key="route.fullPath" />
</div>
</keep-alive> </keep-alive>
<div v-else :key="route.name"> <div v-else :key="route.name">
<component :is="Component" :key="route.fullPath" /> <component :is="Component" :key="route.fullPath" />
......
...@@ -61,7 +61,6 @@ ...@@ -61,7 +61,6 @@
function handleColumnChange(data: ColumnChangeParam[]) { function handleColumnChange(data: ColumnChangeParam[]) {
console.log('ColumnChanged', data); console.log('ColumnChanged', data);
} }
return { return {
columns: getBasicColumns(), columns: getBasicColumns(),
data: getBasicData(), data: getBasicData(),
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论