CN-1062 BUG:列表模式下,到第二页点编辑,再cancel,会直接跳回第一页
This commit is contained in:
@@ -342,7 +342,6 @@ export default {
|
||||
this.showDelDialog()
|
||||
},
|
||||
modeChange (mode) {
|
||||
console.log(this.batchDeleteObjs)
|
||||
this.disableDelete = true
|
||||
this.isSelectedStatus = false
|
||||
this.batchDeleteObjs = []
|
||||
@@ -380,10 +379,12 @@ export default {
|
||||
}).catch(() => {})
|
||||
},
|
||||
jumpToEditPage (id) {
|
||||
const pageNo = this.$router.currentRoute.value.query.pageNo
|
||||
this.$router.push({
|
||||
path: '/knowledgeBase/edit',
|
||||
query: {
|
||||
t: +new Date(),
|
||||
pageNoForTable: pageNo || 1,
|
||||
id: id,
|
||||
listMode: this.listMode
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user