路由编辑修复
parent
2e424eecb3
commit
a9cd77fe57
|
@ -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({
|
||||
|
|
Loading…
Reference in New Issue