From bb7c90e502534991d81f3efe414eb7ba0c275f46 Mon Sep 17 00:00:00 2001 From: hejianhao <15708179461@qq.com> Date: 星期三, 08 一月 2025 16:21:32 +0800 Subject: [PATCH] 弹出个人信息弹窗 --- src/component/userInfo.vue | 8 +++++--- 1 files changed, 5 insertions(+), 3 deletions(-) diff --git a/src/component/userInfo.vue b/src/component/userInfo.vue index 4fc599d..d31b5a3 100644 --- a/src/component/userInfo.vue +++ b/src/component/userInfo.vue @@ -28,8 +28,7 @@ </el-form-item> </el-col> <el-col :span="16"><el-form-item label="备注:" label-width="120px"> - <div style="display: flex;align-items: center;"><el-input - v-model="form.region"></el-input> + <div style="display: flex;align-items: center;"><el-input v-model="form.region"></el-input> <img style="width: 19px;height: 21px;cursor: pointer;margin-left: 26px;" src="@/assets/delete.png" alt=""> </div> @@ -95,11 +94,14 @@ }, watch: { show(val) { - + this.dialogVisible = val }, dialogVisible(val) { this.$emit('update:show', val); + }, + mounted() { + this.dialogVisible = this.show; } } }; -- Gitblit v1.7.1