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
95ddd461
Commit
95ddd461
authored
Jan 05, 2021
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改结算bug
parent
f65e49a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
2 deletions
+2
-2
info.tsx
src/pages/balance/settleRules/memberSettle/info.tsx
+1
-1
index.tsx
src/pages/home/components/UserCenter/index.tsx
+1
-1
No files found.
src/pages/balance/settleRules/memberSettle/info.tsx
View file @
95ddd461
...
@@ -279,7 +279,7 @@ const MemberSettleAdd: React.FC = () => {
...
@@ -279,7 +279,7 @@ const MemberSettleAdd: React.FC = () => {
}
}
/>
/>
</
Card
>
</
Card
>
<
Prompt
when=
{
unsaved
}
message=
"内容还没保存,确定离开吗?"
/>
<
Prompt
when=
{
unsaved
&&
(
isAdd
||
isEdit
)
}
message=
"内容还没保存,确定离开吗?"
/>
</
PageHeaderWrapper
>
</
PageHeaderWrapper
>
)
)
}
}
...
...
src/pages/home/components/UserCenter/index.tsx
View file @
95ddd461
...
@@ -42,7 +42,7 @@ const UserCenter: React.FC<Iprops> = (props) => {
...
@@ -42,7 +42,7 @@ const UserCenter: React.FC<Iprops> = (props) => {
// const hasChangeMemberAuth = userAuth?.urls.includes(EDIT_USER_URL);
// const hasChangeMemberAuth = userAuth?.urls.includes(EDIT_USER_URL);
// const hasCenterAuth = userAuth?.urls.includes(USER_CENTER_URL);
// const hasCenterAuth = userAuth?.urls.includes(USER_CENTER_URL);
const
currentRole
=
userAuth
?.
roles
?.
filter
((
item
)
=>
item
.
memberRoleId
===
userAuth
.
memberRoleId
)
const
currentRole
=
userAuth
?.
roles
?.
filter
((
item
)
=>
item
.
memberRoleId
===
userAuth
.
memberRoleId
)
const
[
state
,
dispatch
]
=
useReducer
(
reducer
,
{
loading
:
false
,
logo
:
userAuth
?.
logo
})
const
[
state
,
dispatch
]
=
useReducer
(
reducer
,
{
loading
:
false
,
logo
:
userAuth
?.
logo
})
if
(
!
userAuth
)
{
if
(
!
userAuth
)
{
return
null
return
null
}
}
...
...
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