路由编辑修复

pull/1/head
DESKTOP-7VLMG81\Administrator 2024-02-05 15:15:19 +08:00
parent 2e424eecb3
commit a9cd77fe57
1 changed files with 2 additions and 1 deletions

View File

@ -303,6 +303,7 @@ export default {
this.resetForm()
this.dialogType = 'add'
if (type === '编辑') {
this.dialogType = 'edit'
this.dialog.form = {
menuId: row.ROUTE_ID,
index: +row.ROUTE_ORDER,
@ -402,7 +403,7 @@ export default {
'/route/' + this.dialogType,
{
...params,
ROUTE_ID: this.dialog.form.ROUTE_ID
ROUTE_ID: this.dialog.form.menuId
}
).then((data) => {
this.$message({