From 031d83828a20b7bc56c1723fe4eaa67fd9d8cd07 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期四, 14 十二月 2023 00:44:12 +0800 Subject: [PATCH] update 代码规范化 --- src/views/system/user/profile/userAvatar.vue | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/views/system/user/profile/userAvatar.vue b/src/views/system/user/profile/userAvatar.vue index 10ec21a..e0fe20d 100644 --- a/src/views/system/user/profile/userAvatar.vue +++ b/src/views/system/user/profile/userAvatar.vue @@ -1,7 +1,7 @@ <template> <div class="user-info-head" @click="editCropper()"> <img :src="options.img" title="鐐瑰嚮涓婁紶澶村儚" class="img-circle img-lg" /> - <el-dialog :title="title" v-model="open" width="800px" append-to-body @opened="modalOpened" @close="closeDialog"> + <el-dialog v-model="open" :title="title" width="800px" append-to-body @opened="modalOpened" @close="closeDialog"> <el-row> <el-col :xs="24" :md="12" :style="{ height: '350px' }"> <vue-cropper @@ -138,8 +138,8 @@ const res = await uploadAvatar(formData); open.value = false; options.img = res.data.imgUrl; - userStore.setAvatar(options.img as string) - proxy?.$modal.msgSuccess("淇敼鎴愬姛"); + userStore.setAvatar(options.img as string); + proxy?.$modal.msgSuccess('淇敼鎴愬姛'); visible.value = false; }); }; -- Gitblit v1.9.3