挂载分屏所需

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) {
if (!!params) {
const {id} = this.$route.query
this.$router.push({hash: "#add", params, query: {id}})
} else {
this.$router.back()
}
back() {
const {id} = this.$route.query
this.$router.push({hash: "#add", params, query: {id}})
this.closePage()
},
save() {

View File

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