修复列表跳转问题

pull/930/merge
lyswhut 2022-01-17 09:21:12 +08:00
parent 53078f79a6
commit d195176a46
1 changed files with 2 additions and 1 deletions

View File

@ -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