BUG 25578
This commit is contained in:
@@ -122,9 +122,9 @@ export default {
|
|||||||
this.instance.post("/admin/menu/addOrUpdate", this.form).then(res => {
|
this.instance.post("/admin/menu/addOrUpdate", this.form).then(res => {
|
||||||
if (res?.code == 0) {
|
if (res?.code == 0) {
|
||||||
this.$message.success("提交成功!")
|
this.$message.success("提交成功!")
|
||||||
|
this.dialog = false
|
||||||
if (!this.form.id) {
|
if (!this.form.id) {
|
||||||
this.getData()
|
this.getData()
|
||||||
this.dialog = false
|
|
||||||
} else this.$refs.MenuTree.append(this.form, this.selected)
|
} else this.$refs.MenuTree.append(this.form, this.selected)
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
|||||||
Reference in New Issue
Block a user