This commit is contained in:
lyswhut
2021-12-04 17:32:02 +08:00
parent 845e5de43f
commit ef52f2465e
2 changed files with 1 additions and 5 deletions
+1 -3
View File
@@ -45,9 +45,7 @@ export default {
// console.log(to, from)
if (to.query.updated) return
let id = to.query.id
if (id == null) {
id = defaultList.id
} else if (!getList(id)) {
if (id == null || !getList(id)) {
id = defaultList.id
}
this.listId = id