From 4b709c7eeafe8dfb3a3f838cbde57d6d12cc96c1 Mon Sep 17 00:00:00 2001 From: zhaojiale <631455805@qq.com> Date: 星期二, 09 八月 2022 11:03:45 +0800 Subject: [PATCH] 多选下拉树修改 --- src/components/equipmentDailog/standardDailog.vue | 10 ++++++---- 1 files changed, 6 insertions(+), 4 deletions(-) diff --git a/src/components/equipmentDailog/standardDailog.vue b/src/components/equipmentDailog/standardDailog.vue index 3228ae5..a1f901e 100644 --- a/src/components/equipmentDailog/standardDailog.vue +++ b/src/components/equipmentDailog/standardDailog.vue @@ -1,5 +1,5 @@ <template> - <el-dialog v-model="dialogVisible" :fullscreen="full" :title="titles" width="50%" draggable> + <el-dialog v-model="dialogVisible" :fullscreen="full" :before-close="resetForm" :title="titles" width="50%" draggable> <el-button @click="toggleFullscreen" size="small" class="pot" :icon="FullScreen"></el-button> <el-form :model="form" label-width="120px" :disabled="disabled"> <el-row> @@ -61,7 +61,7 @@ checkContent: '', checkTarget: '', unit: '', - checkPart: false, + checkPart: "", rate: '', }); // 开启弹窗 @@ -93,9 +93,10 @@ checkContent: '', checkTarget: '', unit: '', - checkPart: false, + checkPart: "", rate: '', }; + disabled.value = false; }; // 取消 const resetForm = () => { @@ -105,9 +106,10 @@ checkContent: '', checkTarget: '', unit: '', - checkPart: false, + checkPart: "", rate: '', }; + disabled.value = false; }; //全屏 const full = ref(false); -- Gitblit v1.9.2