admin-web/src/views/systemSetting/department/edit.vue
@@ -106,23 +106,16 @@ if (this.setting.id) { // 编辑接口 departmentEdit(params).then((res) => { if (res) { this.$message.success('保存成功!'); this.close(); this.$emit('search'); } else { this.$message.error('保存失败'); } }); } else { departmentAdd(params).then((res) => { if (res) { this.$message.success('保存成功!'); this.close(); this.$emit('search'); } else { this.$message.error('保存失败'); } }); } } else {