From a74c466d338638aa24877d38bb4d306de6111cdd Mon Sep 17 00:00:00 2001 From: Kxc0822a <kxc000822> Date: 星期四, 31 三月 2022 14:19:30 +0800 Subject: [PATCH] 重大 --- src/views/safetyproduction/feature.vue | 7 ++++++- 1 files changed, 6 insertions(+), 1 deletions(-) diff --git a/src/views/safetyproduction/feature.vue b/src/views/safetyproduction/feature.vue index 8db69d8..442f961 100644 --- a/src/views/safetyproduction/feature.vue +++ b/src/views/safetyproduction/feature.vue @@ -74,6 +74,7 @@ <el-dialog :title="title" :visible.sync="dialogVisible" + :close-on-click-modal="false" width="40%" > <el-form ref="form" :rules="rules" :model="form" label-width="80px"> @@ -139,7 +140,7 @@ <el-button type="primary" class="btns" @click="AddelementManagement()" >确 定</el-button > - <el-button @click="dialogVisible = false">取 消</el-button> + <el-button @click="cancel()">取 消</el-button> </span> </el-dialog> </div> @@ -324,6 +325,10 @@ .catch(error =>{ }); }, + cancel(){ + this.elementManagementL(); + this.dialogVisible = false; + }, find(){ this.elementManagementL(); }, -- Gitblit v1.9.2