Merge branch 'master' of https://gitee.com/youlaiorg/vue3-element-admin into feature/noticews

This commit is contained in:
Theo
2024-09-18 21:27:01 +08:00
5 changed files with 9 additions and 6 deletions

View File

@@ -187,7 +187,7 @@ class UserAPI {
}); });
} }
/** 丙丁个人中心用户邮箱 */ /** 绑定个人中心用户邮箱 */
static bindEmail(data: EmailBindingForm) { static bindEmail(data: EmailBindingForm) {
return request({ return request({
url: `${USER_BASE_URL}/email`, url: `${USER_BASE_URL}/email`,

View File

@@ -206,6 +206,7 @@ watch(
if (newVal.length <= 0) { if (newVal.length <= 0) {
fileList.value = []; fileList.value = [];
valFileList.value = [];
return; return;
} }

View File

@@ -159,6 +159,8 @@ watch(
if (newVal.length <= 0) { if (newVal.length <= 0) {
fileList.value = []; fileList.value = [];
viewFileList.value = [];
valFileList.value = [];
return; return;
} }

View File

@@ -31,7 +31,7 @@
<div class="flex-center h100% p10px"> <div class="flex-center h100% p10px">
<img <img
:src="userStore.user.avatar + '?imageView2/1/w/80/h/80'" :src="userStore.user.avatar + '?imageView2/1/w/80/h/80'"
class="rounded-full mr-10px w24px w24px" class="rounded-full mr-10px w24px h24px"
/> />
<span>{{ userStore.user.username }}</span> <span>{{ userStore.user.username }}</span>
</div> </div>

View File

@@ -1,11 +1,11 @@
<template> <template>
<div class="login-container"> <div class="login-container">
<!-- 顶部工具栏 -->
<div class="flex-x-between absolute-lt w-full p-2"> <div class="flex-x-between absolute-lt w-full p-2">
<div class="flex-center"> <div class="flex-center">
<el-image :src="logo" style="width: 34px; height: 30px" /> <el-image :src="logo" style="width: 30px; height: 30px" />
<span
<span class="text-xl font-medium mx-1"> class="text-2xl font-bold bg-gradient-to-r from-blue-500 to-teal-500 text-transparent bg-clip-text mx-1"
>
{{ defaultSettings.title }} {{ defaultSettings.title }}
</span> </span>
<el-tag size="small" type="success"> <el-tag size="small" type="success">