diff --git a/src/views/system/route/components/list.vue b/src/views/system/route/components/list.vue index 8ee6bb1..369bb46 100644 --- a/src/views/system/route/components/list.vue +++ b/src/views/system/route/components/list.vue @@ -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({