Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
boyueCEnd
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
游洁
boyueCEnd
Commits
19523dd2
Commit
19523dd2
authored
Nov 25, 2025
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
b1bbcab6
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
31 additions
and
1 deletion
+31
-1
en.ts
src/i18n/locales/en.ts
+8
-0
vi.ts
src/i18n/locales/vi.ts
+8
-0
zh-TW.ts
src/i18n/locales/zh-TW.ts
+7
-0
Headers.vue
src/layouts/components/Headers.vue
+1
-1
user.ts
src/stores/user.ts
+7
-0
No files found.
src/i18n/locales/en.ts
View file @
19523dd2
...
...
@@ -111,6 +111,14 @@ export default {
settings
:
'Settings'
,
logout
:
'Sign Out'
,
},
// Email Validation
emailValidation
:
{
checking
:
'Checking email...'
,
available
:
'Email available'
,
exists
:
'This email is already registered'
,
invalidFormat
:
'Invalid email format'
,
checkFailed
:
'Email validation failed, please try again later'
,
},
// HTTP error status codes
httpError
:
{
400
:
'Bad request'
,
...
...
src/i18n/locales/vi.ts
View file @
19523dd2
...
...
@@ -111,6 +111,14 @@ export default {
settings
:
'Cài đặt'
,
logout
:
'Đăng xuất'
,
},
// Xác thực email
emailValidation
:
{
checking
:
'Đang kiểm tra email...'
,
available
:
'Email khả dụng'
,
exists
:
'Email này đã được đăng ký'
,
invalidFormat
:
'Định dạng email không chính xác'
,
checkFailed
:
'Xác thực email thất bại, vui lòng thử lại sau'
,
},
// Mã lỗi HTTP
httpError
:
{
400
:
'Yêu cầu không hợp lệ'
,
...
...
src/i18n/locales/zh-TW.ts
View file @
19523dd2
...
...
@@ -111,6 +111,13 @@ export default {
settings
:
'設定'
,
logout
:
'登出'
,
},
emailValidation
:
{
checking
:
'正在檢查郵箱...'
,
available
:
'郵箱可用'
,
exists
:
'該郵箱已被註冊'
,
invalidFormat
:
'郵箱格式不正確'
,
checkFailed
:
'郵箱驗證失敗,請稍後重試'
,
},
// HTTP 錯誤狀態碼
httpError
:
{
400
:
'請求參數錯誤'
,
...
...
src/layouts/components/Headers.vue
View file @
19523dd2
...
...
@@ -32,7 +32,7 @@
<a-avatar
class=
"cursor-pointer flex-shrink-0 !w-[35px] !h-[35px]"
>
<img
class=
"w-full h-full cursor-pointer"
alt=
"avatar"
:src=
"userStore.
userInfo.avatar
|| systemConfigStore.config?.logo || 'https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp'"
:src=
"userStore.
memberData.photo
|| systemConfigStore.config?.logo || 'https://p1-arco.byteimg.com/tos-cn-i-uwbnlip3yd/3ee5f13fb09879ecb5185e440cef6eb9.png~tplv-uwbnlip3yd-webp.webp'"
/>
</a-avatar>
<
template
#
content
>
...
...
src/stores/user.ts
View file @
19523dd2
...
...
@@ -53,6 +53,13 @@ export const useUserStore = defineStore('user', {
},
actions
:
{
/**
* 设置用户头像
* @param photo 头像URL
*/
setPhoto
(
photo
:
string
){
this
.
memberData
.
photo
=
photo
},
/**
* 账号密码登录 - 使用新的 UserService
* @param email 账号(邮箱)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment