挂载分屏所需

This commit is contained in:
aixianling
2024-06-25 09:39:56 +08:00
parent 892979ef1a
commit c0667636a5
2 changed files with 4 additions and 8 deletions

View File

@@ -395,13 +395,9 @@ export default {
} }
}) })
}, },
back(params) { back() {
if (!!params) { const {id} = this.$route.query
const {id} = this.$route.query this.$router.push({hash: "#add", params, query: {id}})
this.$router.push({hash: "#add", params, query: {id}})
} else {
this.$router.back()
}
this.closePage() this.closePage()
}, },
save() { save() {

View File

@@ -163,7 +163,7 @@ export default {
}, },
addMenu(row) { addMenu(row) {
this.dialog = true this.dialog = true
this.form = {parentId: row.id, status: 1} this.form = {parentId: row.id, status: "1"}
this.selected = row this.selected = row
}, },
handleEdit(row) { handleEdit(row) {