Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gaohuaxue-mobile-app
Project
Project
Details
Activity
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
project
gaohuaxue-mobile-app
Commits
f26723f6
Commit
f26723f6
authored
Apr 07, 2023
by
赵振东
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改设置页面的账户取值字段
parent
bbe7303a
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
2 deletions
+4
-2
home.ts
src/locales/en_US/home.ts
+2
-1
home.ts
src/locales/zh_CN/home.ts
+1
-0
index.tsx
src/views/AccountInfo/index.tsx
+1
-1
No files found.
src/locales/en_US/home.ts
View file @
f26723f6
export
default
{
'home.hello'
:
'Hello,'
,
'home.name'
:
'name'
,
'home.phone'
:
'account number:'
,
'home.phone'
:
'account:'
,
'home.account'
:
'account'
,
'home.roleName'
:
'role'
,
'home.orgName'
:
'Affiliation'
,
'home.accountInfo'
:
'Account information'
,
...
...
src/locales/zh_CN/home.ts
View file @
f26723f6
...
...
@@ -2,6 +2,7 @@ export default {
'home.hello'
:
'你好,'
,
'home.name'
:
'姓名'
,
'home.phone'
:
'账号:'
,
'home.account'
:
'账号'
,
'home.roleName'
:
'角色'
,
'home.orgName'
:
'所属机构'
,
'home.accountInfo'
:
'账户信息'
,
...
...
src/views/AccountInfo/index.tsx
View file @
f26723f6
...
...
@@ -19,7 +19,7 @@ const AccountInfo: React.FC<any> = ({ navigation }) => {
const
_role
=
getCurrentRole
(
userStore
?.
userInfo
);
setCurrentAI
([
{
title
:
t
(
'home.name'
,
'姓名'
),
value
:
_userInfo
?.
name
},
{
title
:
t
(
'home.account'
,
'账号'
),
value
:
_userInfo
?.
phone
},
{
title
:
t
(
'home.account'
,
'账号'
),
value
:
_userInfo
?.
account
},
{
title
:
t
(
'home.roleName'
,
'角色'
),
value
:
_role
?.
roleName
},
{
title
:
t
(
'home.orgName'
,
'所属机构'
),
value
:
_userInfo
?.
orgName
},
]);
...
...
赵振东
@zhaozhendong
mentioned in commit
3b2e6e1b
·
Apr 07, 2023
mentioned in commit
3b2e6e1b
mentioned in commit 3b2e6e1beb456c59d935af4bafb930ef2b2fdb1b
Toggle commit list
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