fix: 暖色调修改。
This commit is contained in:
@@ -11,7 +11,7 @@ const config = {
|
||||
// 应用版本
|
||||
version: "1.1.0",
|
||||
// 应用logo
|
||||
logo: "/static/logo.png",
|
||||
logo: "/static/logo1.png",
|
||||
// 官方网站
|
||||
site_url: "https://www.qdintc.com",
|
||||
// 政策协议
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<view class="logo-box">
|
||||
<image class="logo" :src="globalConfig.appInfo.logo" mode="aspectFit"></image>
|
||||
</view>
|
||||
<text class="app-title">智聪健康管理平台</text>
|
||||
<text class="app-title">暖康档案管理平台</text>
|
||||
<text class="app-subtitle">专业的健康管理工具</text>
|
||||
</view>
|
||||
|
||||
@@ -13,7 +13,7 @@
|
||||
<view class="form-card">
|
||||
<!-- 账号输入 -->
|
||||
<view class="input-item">
|
||||
<uni-icons type="person" size="20" color="#999"></uni-icons>
|
||||
<uni-icons type="person" size="20" color="#E8841A"></uni-icons>
|
||||
<input
|
||||
v-model="loginForm.username"
|
||||
class="input-field"
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
<!-- 密码输入 -->
|
||||
<view class="input-item">
|
||||
<uni-icons type="locked" size="20" color="#999"></uni-icons>
|
||||
<uni-icons type="locked" size="20" color="#E8841A"></uni-icons>
|
||||
<input
|
||||
v-model="loginForm.password"
|
||||
type="text"
|
||||
@@ -183,13 +183,13 @@ getCode();
|
||||
|
||||
<style lang="scss" scoped>
|
||||
page {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(160deg, #FFF3D6 0%, #FFE0A0 60%, #FFCC6E 100%);
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.login-container {
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(160deg, #FFF3D6 0%, #FFE0A0 60%, #FFCC6E 100%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
@@ -207,7 +207,7 @@ page {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 32rpx;
|
||||
border-radius: 80rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -222,13 +222,13 @@ page {
|
||||
.app-title {
|
||||
font-size: 40rpx;
|
||||
font-weight: 600;
|
||||
color: #ffffff;
|
||||
color: #8B4500;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.app-subtitle {
|
||||
font-size: 24rpx;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
color: rgba(139, 69, 0, 0.65);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -284,8 +284,8 @@ page {
|
||||
flex-shrink: 0;
|
||||
|
||||
&.checked {
|
||||
background: #667eea;
|
||||
border-color: #667eea;
|
||||
background: #E8841A;
|
||||
border-color: #E8841A;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -297,7 +297,7 @@ page {
|
||||
|
||||
.link-text {
|
||||
font-size: 24rpx;
|
||||
color: #667eea;
|
||||
color: #E8841A;
|
||||
text-decoration: none;
|
||||
line-height: 1.6;
|
||||
}
|
||||
@@ -307,7 +307,7 @@ page {
|
||||
.login-btn {
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 44rpx;
|
||||
border: none;
|
||||
color: #ffffff;
|
||||
@@ -328,7 +328,7 @@ page {
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
background: transparent;
|
||||
border: 2rpx solid #667eea;
|
||||
border: 2rpx solid #E8841A;
|
||||
border-radius: 44rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -336,13 +336,13 @@ page {
|
||||
|
||||
text {
|
||||
font-size: 32rpx;
|
||||
color: #667eea;
|
||||
color: #E8841A;
|
||||
font-weight: 500;
|
||||
}
|
||||
|
||||
&:active {
|
||||
opacity: 0.8;
|
||||
background: rgba(102, 126, 234, 0.05);
|
||||
background: rgba(232, 132, 26, 0.05);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -352,7 +352,7 @@ page {
|
||||
|
||||
text {
|
||||
font-size: 22rpx;
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
color: #8B4500;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -14,7 +14,7 @@
|
||||
<view class="user-details">
|
||||
<view v-if="!name" @click="handleToLogin" class="login-prompt">
|
||||
<text class="login-text">点击登录</text>
|
||||
<uni-icons type="right" size="16" color="#ffffff"></uni-icons>
|
||||
<uni-icons type="right" size="16" color="#8B4500"></uni-icons>
|
||||
</view>
|
||||
<view v-if="name" class="user-name-section">
|
||||
<text class="user-name">{{ name }}</text>
|
||||
@@ -24,7 +24,7 @@
|
||||
</view>
|
||||
</view>
|
||||
<view @click="handleToInfo" class="settings-btn">
|
||||
<uni-icons type="list" size="24" color="#ffffff"></uni-icons>
|
||||
<uni-icons type="list" size="24" color="#8B4500"></uni-icons>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -231,7 +231,7 @@ page {
|
||||
|
||||
.header-section {
|
||||
padding: 160rpx 32rpx 80rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #FFF3D6 0%, #FFCC6E 100%);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
flex-shrink: 0;
|
||||
@@ -267,11 +267,11 @@ page {
|
||||
width: 120rpx;
|
||||
height: 120rpx;
|
||||
border-radius: 60rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
box-shadow: 0 12rpx 40rpx rgba(102, 126, 234, 0.4);
|
||||
box-shadow: 0 12rpx 40rpx rgba(232, 132, 26, 0.4);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -295,7 +295,7 @@ page {
|
||||
width: 112rpx;
|
||||
height: 112rpx;
|
||||
border-radius: 56rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -312,12 +312,12 @@ page {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16rpx 24rpx;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
background: rgba(232, 132, 26, 0.15);
|
||||
border-radius: 40rpx;
|
||||
backdrop-filter: blur(10rpx);
|
||||
|
||||
.login-text {
|
||||
color: #ffffff;
|
||||
color: #8B4500;
|
||||
font-size: 28rpx;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
@@ -329,7 +329,7 @@ page {
|
||||
margin-bottom: 12rpx;
|
||||
|
||||
.user-name {
|
||||
color: #ffffff;
|
||||
color: #8B4500;
|
||||
font-size: 36rpx;
|
||||
font-weight: 600;
|
||||
margin-right: 12rpx;
|
||||
@@ -337,7 +337,7 @@ page {
|
||||
|
||||
.user-tag {
|
||||
padding: 4rpx 16rpx;
|
||||
background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 20rpx;
|
||||
color: #ffffff;
|
||||
font-size: 20rpx;
|
||||
@@ -345,7 +345,7 @@ page {
|
||||
}
|
||||
|
||||
.user-id {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
color: rgba(139, 69, 0, 0.8);
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
@@ -353,7 +353,7 @@ page {
|
||||
|
||||
.settings-btn {
|
||||
padding: 16rpx;
|
||||
background: rgba(255, 255, 255, 0.2);
|
||||
background: rgba(232, 132, 26, 0.2);
|
||||
border-radius: 50%;
|
||||
backdrop-filter: blur(10rpx);
|
||||
}
|
||||
|
||||
@@ -23,7 +23,7 @@
|
||||
|
||||
<view class="tips-card">
|
||||
<view class="tips-header">
|
||||
<uni-icons type="info" size="16" color="#667eea"></uni-icons>
|
||||
<uni-icons type="info" size="16" color="#E8841A"></uni-icons>
|
||||
<text class="tips-title">密码要求</text>
|
||||
</view>
|
||||
<view class="tips-list">
|
||||
@@ -133,14 +133,14 @@ uni.navigateTo({ url: `/pages/login` })
|
||||
|
||||
<style lang="scss" scoped>
|
||||
page {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(160deg, #FFF3D6 0%, #FFE0A0 60%, #FFCC6E 100%);
|
||||
min-height: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.register-container {
|
||||
min-height: 100vh;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(160deg, #FFF3D6 0%, #FFE0A0 60%, #FFCC6E 100%);
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
position: relative;
|
||||
@@ -151,7 +151,7 @@ page {
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.1) 0%, transparent 60%);
|
||||
background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.35) 0%, transparent 60%);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
@@ -164,14 +164,14 @@ page {
|
||||
display: block;
|
||||
font-size: 48rpx;
|
||||
font-weight: 700;
|
||||
color: #ffffff;
|
||||
color: #8B4500;
|
||||
margin-bottom: 12rpx;
|
||||
}
|
||||
|
||||
.page-subtitle {
|
||||
display: block;
|
||||
font-size: 26rpx;
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
color: rgba(139, 69, 0, 0.65);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -202,11 +202,11 @@ page {
|
||||
}
|
||||
|
||||
.tips-card {
|
||||
background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
|
||||
background: linear-gradient(135deg, rgba(232, 132, 26, 0.06) 0%, rgba(245, 166, 35, 0.06) 100%);
|
||||
border-radius: 20rpx;
|
||||
padding: 24rpx;
|
||||
margin-top: 32rpx;
|
||||
border: 2rpx solid rgba(102, 126, 234, 0.2);
|
||||
border: 2rpx solid rgba(232, 132, 26, 0.2);
|
||||
}
|
||||
|
||||
.tips-header {
|
||||
@@ -215,7 +215,7 @@ page {
|
||||
margin-bottom: 16rpx;
|
||||
|
||||
.tips-title {
|
||||
color: #667eea;
|
||||
color: #E8841A;
|
||||
font-size: 26rpx;
|
||||
font-weight: 600;
|
||||
margin-left: 8rpx;
|
||||
@@ -233,7 +233,7 @@ page {
|
||||
}
|
||||
|
||||
.tip-dot {
|
||||
color: #667eea;
|
||||
color: #E8841A;
|
||||
font-size: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
line-height: 36rpx;
|
||||
@@ -254,10 +254,10 @@ page {
|
||||
.register-btn {
|
||||
width: 100%;
|
||||
height: 96rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 48rpx;
|
||||
border: none;
|
||||
box-shadow: 0 12rpx 32rpx rgba(102, 126, 234, 0.4);
|
||||
box-shadow: 0 12rpx 32rpx rgba(232, 132, 26, 0.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -269,7 +269,7 @@ page {
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.3);
|
||||
box-shadow: 0 8rpx 24rpx rgba(232, 132, 26, 0.3);
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
@@ -287,7 +287,7 @@ page {
|
||||
z-index: 1;
|
||||
|
||||
.copyright-text {
|
||||
color: rgba(255, 255, 255, 0.7);
|
||||
color: #8B4500;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@
|
||||
<text class="item-label">{{ item.label }}</text>
|
||||
</view>
|
||||
<view class="item-right">
|
||||
<uni-link v-if="item.isLink" :href="item.value" :text="item.displayText" showUnderLine="false" color="#667eea"></uni-link>
|
||||
<uni-link v-if="item.isLink" :href="item.value" :text="item.displayText" showUnderLine="false" color="#E8841A"></uni-link>
|
||||
<text v-else class="item-value">{{ item.value }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@@ -44,7 +44,7 @@ const infoList = computed(() => [
|
||||
label: '版本信息',
|
||||
value: `v${version}`,
|
||||
displayText: `v${version}`,
|
||||
gradient: 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)',
|
||||
gradient: 'linear-gradient(135deg, #E8841A 0%, #F5A623 100%)',
|
||||
isLink: false
|
||||
},
|
||||
{
|
||||
@@ -95,7 +95,7 @@ page {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #FFF3D6 0%, #FFCC6E 100%);
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
|
||||
@@ -117,7 +117,7 @@ page {
|
||||
.logo-image {
|
||||
width: 140rpx;
|
||||
height: 140rpx;
|
||||
border-radius: 28rpx;
|
||||
border-radius: 80rpx;
|
||||
box-shadow: 0 12rpx 40rpx rgba(0, 0, 0, 0.2);
|
||||
background: #ffffff;
|
||||
padding: 16rpx;
|
||||
@@ -129,21 +129,21 @@ page {
|
||||
right: -10rpx;
|
||||
width: 40rpx;
|
||||
height: 40rpx;
|
||||
background: linear-gradient(135deg, #ffd89b 0%, #19547b 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 20rpx;
|
||||
border: 4rpx solid #667eea;
|
||||
border: 4rpx solid #F5A623;
|
||||
}
|
||||
}
|
||||
|
||||
.app-name {
|
||||
color: #ffffff;
|
||||
color: #8B4500;
|
||||
font-size: 36rpx;
|
||||
font-weight: 700;
|
||||
margin-bottom: 8rpx;
|
||||
}
|
||||
|
||||
.app-slogan {
|
||||
color: rgba(255, 255, 255, 0.8);
|
||||
color: rgba(139, 69, 0, 0.8);
|
||||
font-size: 26rpx;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -2,7 +2,7 @@
|
||||
<view class="help-container">
|
||||
<view v-for="(item, findex) in list" :key="findex" class="help-section">
|
||||
<view class="section-header">
|
||||
<view class="header-icon" :style="{ background: findex === 0 ? 'linear-gradient(135deg, #667eea 0%, #764ba2 100%)' : 'linear-gradient(135deg, #4facfe 0%, #00f2fe 100%)' }">
|
||||
<view class="header-icon" :style="{ background: findex === 0 ? 'linear-gradient(135deg, #E8841A 0%, #F5A623 100%)' : 'linear-gradient(135deg, #F5A623 0%, #FFCC6E 100%)' }">
|
||||
<uni-icons :type="findex === 0 ? 'help' : 'info'" size="20" color="#ffffff"></uni-icons>
|
||||
</view>
|
||||
<text class="section-title">{{ item.title }}</text>
|
||||
@@ -46,9 +46,6 @@
|
||||
childList: [{
|
||||
title: '如何退出登录?',
|
||||
content: '请点击[我的] - [应用设置] - [退出登录]即可退出登录',
|
||||
}, {
|
||||
title: '如何修改用户头像?',
|
||||
content: '请点击[我的] - [选择头像] - [点击提交]即可更换用户头像',
|
||||
}, {
|
||||
title: '如何修改登录密码?',
|
||||
content: '请点击[我的] - [应用设置] - [修改密码]即可修改登录密码',
|
||||
@@ -139,7 +136,7 @@ page {
|
||||
.q-badge {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@@ -167,7 +164,7 @@ page {
|
||||
.a-badge {
|
||||
width: 36rpx;
|
||||
height: 36rpx;
|
||||
background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
|
||||
background: linear-gradient(135deg, #FFCC6E 0%, #F5A623 100%);
|
||||
border-radius: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
@@ -125,10 +125,10 @@ page {
|
||||
.submit-btn {
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 44rpx;
|
||||
border: none;
|
||||
box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4);
|
||||
box-shadow: 0 8rpx 24rpx rgba(232, 132, 26, 0.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -140,7 +140,7 @@ page {
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3);
|
||||
box-shadow: 0 4rpx 16rpx rgba(232, 132, 26, 0.3);
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
|
||||
@@ -16,7 +16,7 @@
|
||||
|
||||
<view class="tips-card">
|
||||
<view class="tips-header">
|
||||
<uni-icons type="info" size="18" color="#667eea"></uni-icons>
|
||||
<uni-icons type="info" size="18" color="#E8841A"></uni-icons>
|
||||
<text class="tips-title">密码要求</text>
|
||||
</view>
|
||||
<view class="tips-list">
|
||||
@@ -125,11 +125,11 @@ page {
|
||||
}
|
||||
|
||||
.tips-card {
|
||||
background: linear-gradient(135deg, rgba(102, 126, 234, 0.08) 0%, rgba(118, 75, 162, 0.08) 100%);
|
||||
background: linear-gradient(135deg, rgba(232, 132, 26, 0.08) 0%, rgba(245, 166, 35, 0.08) 100%);
|
||||
border-radius: 24rpx;
|
||||
padding: 24rpx;
|
||||
margin-bottom: 32rpx;
|
||||
border: 2rpx solid rgba(102, 126, 234, 0.2);
|
||||
border: 2rpx solid rgba(232, 132, 26, 0.2);
|
||||
}
|
||||
|
||||
.tips-header {
|
||||
@@ -138,7 +138,7 @@ page {
|
||||
margin-bottom: 16rpx;
|
||||
|
||||
.tips-title {
|
||||
color: #667eea;
|
||||
color: #E8841A;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
margin-left: 8rpx;
|
||||
@@ -156,7 +156,7 @@ page {
|
||||
}
|
||||
|
||||
.tip-dot {
|
||||
color: #667eea;
|
||||
color: #E8841A;
|
||||
font-size: 28rpx;
|
||||
margin-right: 8rpx;
|
||||
line-height: 40rpx;
|
||||
@@ -178,10 +178,10 @@ page {
|
||||
.submit-btn {
|
||||
width: 100%;
|
||||
height: 88rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
background: linear-gradient(135deg, #E8841A 0%, #F5A623 100%);
|
||||
border-radius: 44rpx;
|
||||
border: none;
|
||||
box-shadow: 0 8rpx 24rpx rgba(102, 126, 234, 0.4);
|
||||
box-shadow: 0 8rpx 24rpx rgba(232, 132, 26, 0.4);
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
@@ -193,7 +193,7 @@ page {
|
||||
|
||||
&:active {
|
||||
transform: scale(0.98);
|
||||
box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.3);
|
||||
box-shadow: 0 4rpx 16rpx rgba(232, 132, 26, 0.3);
|
||||
}
|
||||
|
||||
.btn-text {
|
||||
|
||||
BIN
src/static/logo1.png
Normal file
BIN
src/static/logo1.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 88 KiB |
@@ -15,6 +15,7 @@ const useUserStore = defineStore("user", {
|
||||
state: () => ({
|
||||
token: getToken(),
|
||||
name: "",
|
||||
userId: "",
|
||||
avatar: "",
|
||||
roles: Array(),
|
||||
permissions: [],
|
||||
@@ -57,6 +58,7 @@ const useUserStore = defineStore("user", {
|
||||
this.roles = ["ROLE_DEFAULT"];
|
||||
}
|
||||
this.name = user.userName;
|
||||
this.userId = user.userId;
|
||||
this.avatar = avatar;
|
||||
resolve(res);
|
||||
})
|
||||
@@ -74,6 +76,7 @@ const useUserStore = defineStore("user", {
|
||||
this.roles = [];
|
||||
this.permissions = [];
|
||||
this.name = "";
|
||||
this.userId = "";
|
||||
this.avatar = "";
|
||||
removeToken();
|
||||
resolve(null);
|
||||
|
||||
Reference in New Issue
Block a user