File tree Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Expand file tree Collapse file tree 2 files changed +4
-5
lines changed Original file line number Diff line number Diff line change @@ -14,11 +14,11 @@ export default {
14
14
const { $route: { meta }, $store: { getters } } = this
15
15
const inKeep = (
16
16
< keep- alive>
17
- < router- view key = { this . $route . fullPath } / >
17
+ < router- view / >
18
18
< / keep- alive>
19
19
)
20
20
const notKeep = (
21
- < router- view key = { this . $route . fullPath } / >
21
+ < router- view / >
22
22
)
23
23
// 这里增加了 multiTab 的判断,当开启了 multiTab 时
24
24
// 应当全部组件皆缓存,否则会导致切换页面后页面还原成原始状态
Original file line number Diff line number Diff line change 96
96
<ellipsis :length =" 4" tooltip >{{ text }}</ellipsis >
97
97
</span >
98
98
99
- <span slot =" action" slot-scope =" text, record, index " >
99
+ <span slot =" action" slot-scope =" text, record" >
100
100
<template >
101
- <router-link :to =" { name: 'TableListWrapper', query: { id: index } }" v-if =" index < 2" >新页面</router-link >
102
- <a v-else @click =" handleEdit(record)" >配置</a >
101
+ <a @click =" handleEdit(record)" >配置</a >
103
102
<a-divider type =" vertical" />
104
103
<a @click =" handleSub(record)" >订阅报警</a >
105
104
</template >
You can’t perform that action at this time.
0 commit comments