From a3c3e7193d2187f595496e60a7bc89d78d9d9d88 Mon Sep 17 00:00:00 2001
From: pyt <626651354@qq.com>
Date: 星期三, 08 一月 2025 16:23:29 +0800
Subject: [PATCH] 1

---
 src/component/userInfo.vue |    6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diff --git a/src/component/userInfo.vue b/src/component/userInfo.vue
index 4fc599d..a6b514a 100644
--- a/src/component/userInfo.vue
+++ b/src/component/userInfo.vue
@@ -1,7 +1,6 @@
 <template>
-    <el-dialog :visible.sync="dialogVisible" :show-close="false" width="80%" top="51px">
+    <el-dialog :visible.sync="show" :show-close="false" width="80%" top="51px">
         <div class="content">
-
             <el-form label-position="left" label-width="105px" :model="form" :rules="rules">
                 <div class="title">个人信息</div>
                 <div class="company">所属公司:成都喜望软件有限公司</div>
@@ -64,7 +63,7 @@
                 </el-row>
             </el-form>
             <div class="btns">
-                <el-button @click="dialogVisible = false">关闭</el-button>
+                <el-button @click="$emit('close')">关闭</el-button>
                 <el-button type="primary">保存</el-button>
             </div>
         </div>
@@ -95,7 +94,6 @@
     },
     watch: {
         show(val) {
-            
             this.dialogVisible = val
         },
         dialogVisible(val) {

--
Gitblit v1.7.1