Commit 205d66f7 authored by 前端-黄佳鑫's avatar 前端-黄佳鑫

fix: 修复内容-广告-新增广告点击新增保存后跳转异常

parent bcff40ae
...@@ -61,7 +61,8 @@ const AdvertisementInfo: React.FC = () => { ...@@ -61,7 +61,8 @@ const AdvertisementInfo: React.FC = () => {
serviceActions(postData).then((data) => { serviceActions(postData).then((data) => {
setSubmitLoading(false); setSubmitLoading(false);
if(data.code === 1000) { if(data.code === 1000) {
history.push('/content/advertisement') history.push('/memberCenter/contentAbility/advertisement')
} }
}) })
} }
...@@ -78,14 +79,14 @@ const AdvertisementInfo: React.FC = () => { ...@@ -78,14 +79,14 @@ const AdvertisementInfo: React.FC = () => {
console.log(options); console.log(options);
actions.setFieldState('columnType', (state) => { actions.setFieldState('columnType', (state) => {
state.props["enum"] = options; state.props["enum"] = options;
}) })
// onFieldValueChange$('channel').subscribe(fieldState => { // onFieldValueChange$('channel').subscribe(fieldState => {
// }) // })
} }
const handleCancel = () => { const handleCancel = () => {
history.push('/content/advertisement') history.push('/memberCenter/contentAbility/advertisement')
} }
return ( return (
......
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