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