From e07e6af94e8df05f4f5331c631e18e265d7174ca Mon Sep 17 00:00:00 2001 From: zouyu <2723363702@qq.com> Date: 星期二, 05 九月 2023 16:52:27 +0800 Subject: [PATCH] modified: src/router/index.js --- src/views/laboratory/organizational/index.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/views/laboratory/organizational/index.vue b/src/views/laboratory/organizational/index.vue index b44012b..aa83bc1 100644 --- a/src/views/laboratory/organizational/index.vue +++ b/src/views/laboratory/organizational/index.vue @@ -12,6 +12,7 @@ :filter-node-method="filterNode" ref="tree" @node-click="handleNodeClick" + :expand-on-click-node="false" > </el-tree> </div> @@ -91,7 +92,6 @@ <el-input placeholder="璇疯緭鍏ラ儴闂ㄥ悕绉�" v-model="formData.department" - clearable style="width: 80%" > </el-input> @@ -280,7 +280,10 @@ handler(newVal, oldVal) { if (newVal == false) { this.isUpdate = false; - this.formData = {}; + this.formData = { + fatherId: "", + department: "", + }; this.$refs.ruleForm.resetFields(); } }, -- Gitblit v1.9.3