src/views/laboratory/organizational/index.vue
@@ -92,7 +92,6 @@ <el-input placeholder="请输入部门名称" v-model="formData.department" clearable style="width: 80%" > </el-input> @@ -281,7 +280,10 @@ handler(newVal, oldVal) { if (newVal == false) { this.isUpdate = false; this.formData = {}; this.formData = { fatherId: "", department: "", }; this.$refs.ruleForm.resetFields(); } },