ruoyi-ui/src/views/system/menu/index.vue
@@ -367,19 +367,15 @@ if (valid) { if (this.form.menuId != undefined) { updateMenu(this.form).then(response => { if (response.code === 200) { this.msgSuccess("修改成功"); this.open = false; this.getList(); } }); } else { addMenu(this.form).then(response => { if (response.code === 200) { this.msgSuccess("新增成功"); this.open = false; this.getList(); } }); } } @@ -396,7 +392,7 @@ }).then(() => { this.getList(); this.msgSuccess("删除成功"); }).catch(function() {}); }) } } };