Commit 88a43728 authored by Bill's avatar Bill

fix: 修改装修跳转链接

parent 8f6c4a9b
......@@ -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}`)
},
})
};
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment