diff --git a/src/api/user.ts b/src/api/user.ts index 27147a12..e7ac59c3 100644 --- a/src/api/user.ts +++ b/src/api/user.ts @@ -187,7 +187,7 @@ class UserAPI { }); } - /** 丙丁个人中心用户邮箱 */ + /** 绑定个人中心用户邮箱 */ static bindEmail(data: EmailBindingForm) { return request({ url: `${USER_BASE_URL}/email`, diff --git a/src/components/Upload/FileUpload.vue b/src/components/Upload/FileUpload.vue index 7c8251bd..a89b948f 100644 --- a/src/components/Upload/FileUpload.vue +++ b/src/components/Upload/FileUpload.vue @@ -206,6 +206,7 @@ watch( if (newVal.length <= 0) { fileList.value = []; + valFileList.value = []; return; } diff --git a/src/components/Upload/ImageUpload.vue b/src/components/Upload/ImageUpload.vue index f2bbf349..9598764a 100644 --- a/src/components/Upload/ImageUpload.vue +++ b/src/components/Upload/ImageUpload.vue @@ -159,6 +159,8 @@ watch( if (newVal.length <= 0) { fileList.value = []; + viewFileList.value = []; + valFileList.value = []; return; } diff --git a/src/layout/components/NavBar/components/NavbarAction.vue b/src/layout/components/NavBar/components/NavbarAction.vue index 339fbb2d..c107c5d9 100644 --- a/src/layout/components/NavBar/components/NavbarAction.vue +++ b/src/layout/components/NavBar/components/NavbarAction.vue @@ -31,7 +31,7 @@
{{ userStore.user.username }}
diff --git a/src/views/login/index.vue b/src/views/login/index.vue index 5067f5fe..7222319e 100644 --- a/src/views/login/index.vue +++ b/src/views/login/index.vue @@ -1,11 +1,11 @@