修复列表跳转问题
parent
53078f79a6
commit
d195176a46
|
@ -45,7 +45,8 @@ export default {
|
|||
// console.log(to, from)
|
||||
if (to.query.updated) return
|
||||
let id = to.query.id
|
||||
if (id == null || !getList(id)) {
|
||||
if (id == null) return
|
||||
if (!getList(id)) {
|
||||
id = defaultList.id
|
||||
}
|
||||
this.listId = id
|
||||
|
|
Loading…
Reference in New Issue