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
黄庭坚
jinfa-platform
Commits
88a43728
Commit
88a43728
authored
Feb 10, 2022
by
Bill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修改装修跳转链接
parent
8f6c4a9b
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
index.tsx
...nagement/activePage/fixtures/components/Toolbar/index.tsx
+4
-1
No files found.
src/pages/transaction/marketingAbility/marketingActivitiesManagement/activePage/fixtures/components/Toolbar/index.tsx
View file @
88a43728
...
...
@@ -6,6 +6,7 @@ import { Modal } from 'antd';
import
{
useIntl
}
from
'umi'
import
Color
from
'./color'
;
import
{
changeProps
,
SelectedInfoType
,
STATE_PROPS
,
useSelector
}
from
'@linkseeks/design-react'
;
import
{
usePageStatus
}
from
'@/hooks/usePageStatus'
;
interface
Iprops
{
extra
?:
React
.
ReactNode
,
...
...
@@ -18,6 +19,7 @@ type SettingPanelType = {
const
Toolbar
:
React
.
FC
<
Iprops
>
=
(
props
:
Iprops
)
=>
{
const
{
pageConfig
}
=
useSelector
<
SettingPanelType
,
STATE_PROPS
>
([
'pageConfig'
]);
const
{
id
}
=
usePageStatus
();
const
color
=
pageConfig
?.[
0
]?.
props
?.
backgroundColor
;
const
intl
=
useIntl
();
...
...
@@ -26,7 +28,8 @@ const Toolbar: React.FC<Iprops> = (props: Iprops) => {
Modal
.
confirm
({
title
:
intl
.
formatMessage
({
id
:
'activityPage.confirmLeaveDecoratePage'
}),
onOk
:
()
=>
{
history
.
goBack
()
// history.goBack()
history
.
push
(
`/memberCenter/marketingAbility/activityPages/management/edit?id=
${
id
}
`
)
},
})
};
...
...
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