路由编辑修复
parent
2e424eecb3
commit
a9cd77fe57
|
@ -303,6 +303,7 @@ export default {
|
||||||
this.resetForm()
|
this.resetForm()
|
||||||
this.dialogType = 'add'
|
this.dialogType = 'add'
|
||||||
if (type === '编辑') {
|
if (type === '编辑') {
|
||||||
|
this.dialogType = 'edit'
|
||||||
this.dialog.form = {
|
this.dialog.form = {
|
||||||
menuId: row.ROUTE_ID,
|
menuId: row.ROUTE_ID,
|
||||||
index: +row.ROUTE_ORDER,
|
index: +row.ROUTE_ORDER,
|
||||||
|
@ -402,7 +403,7 @@ export default {
|
||||||
'/route/' + this.dialogType,
|
'/route/' + this.dialogType,
|
||||||
{
|
{
|
||||||
...params,
|
...params,
|
||||||
ROUTE_ID: this.dialog.form.ROUTE_ID
|
ROUTE_ID: this.dialog.form.menuId
|
||||||
}
|
}
|
||||||
).then((data) => {
|
).then((data) => {
|
||||||
this.$message({
|
this.$message({
|
||||||
|
|
Loading…
Reference in New Issue