Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
J
jinfa-platform
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
shenshaokai
jinfa-platform
Commits
bc10a03a
Commit
bc10a03a
authored
Mar 02, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 当注册会员审核不通过时,修改跳转链接空白问题
parent
5fd19438
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
13 additions
and
3 deletions
+13
-3
index.ts
config/routes/index.ts
+9
-0
menu.ts
src/locales/zh-CN/menu.ts
+1
-0
info.tsx
src/pages/balance/settleRules/receipt/info.tsx
+1
-1
index.tsx
src/pages/home/components/UserCenter/index.tsx
+1
-1
index.tsx
...pages/member/memberImport/components/MemberForm/index.tsx
+1
-1
No files found.
config/routes/index.ts
View file @
bc10a03a
...
...
@@ -34,6 +34,15 @@ const memberCenterRoute = {
path
:
'/memberCenter/channelAbility'
,
redirect
:
'/memberCenter/channelAbility/infoManage'
},
// 当注册的会员审核不通过时, 可以修改个人信息, 这里任何人都有权限
{
path
:
`/memberCenter/editMySelf`
,
component
:
'@/pages/member/memberImport/editMySelf'
,
hideInMenu
:
true
,
auth
:
false
,
noMargin
:
true
,
name
:
'修改个人信息'
},
// {
// path: `/memberCenter/home`,
// name: 'home',
...
...
src/locales/zh-CN/menu.ts
View file @
bc10a03a
...
...
@@ -32,6 +32,7 @@ export default {
'menu.exception.403'
:
'403'
,
'menu.exception.404'
:
'404'
,
'menu.exception.500'
:
'500'
,
'menu.editMySelf'
:
'修改个人信息'
,
// 商品能力
'menu.commodityAbility'
:
'商品'
,
...
...
src/pages/balance/settleRules/receipt/info.tsx
View file @
bc10a03a
...
...
@@ -105,7 +105,7 @@ const schema = {
title
:
'电话号码'
,
'x-rules'
:
[
{
limitByte
:
true
,
maxByte
:
80
},
{
pattern
:
/^0
\d{2,3}
-
?\d{7,8}
$/
,
message
:
'请填写正确的电话号码'
}
{
pattern
:
/^0
\d{2,3}
-
?\d{7,8}
$/
,
message
:
'请填写正确的电话号码
,格式为:020-12345678
'
}
]
},
isDefault
:
{
...
...
src/pages/home/components/UserCenter/index.tsx
View file @
bc10a03a
...
...
@@ -21,7 +21,7 @@ interface Iprops {}
const
WEEKDAYS
=
[
"天"
,
"一"
,
"二"
,
"三"
,
"四"
,
"五"
,
"六"
];
const
LEVEL_IMAGE
=
[
level1
,
level1
,
level2
,
level3
,
level4
];
const
EDIT_USER_URL
=
'/memberCenter/
memberAbility/manage/import/
editMySelf'
;
const
EDIT_USER_URL
=
'/memberCenter/editMySelf'
;
const
USER_CENTER_URL
=
'/memberCenter/memberAbility/manage/maintain'
const
STATUS_COLOR
:
(
"default"
|
"processing"
|
"error"
|
"success"
)[]
=
[
"default"
,
"processing"
,
"error"
,
"success"
]
...
...
src/pages/member/memberImport/components/MemberForm/index.tsx
View file @
bc10a03a
...
...
@@ -124,7 +124,7 @@ const MemberForm: React.FC<MemberFormProps> = ({
FormPath
.
setIn
(
state
,
'props.enum'
,
areasOptions
);
});
areaCodes
.
forEach
((
area
,
index
)
=>
{
areaCodes
&&
areaCodes
.
forEach
((
area
,
index
)
=>
{
const
{
pcode
,
ccode
}
=
area
;
const
province
=
areas
.
find
(
item
=>
item
.
code
===
pcode
);
...
...
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