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
205d66f7
Commit
205d66f7
authored
Apr 07, 2022
by
前端-黄佳鑫
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 修复内容-广告-新增广告点击新增保存后跳转异常
parent
bcff40ae
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
advertisementInfo.tsx
src/pages/content/advertisement/advertisementInfo.tsx
+5
-4
No files found.
src/pages/content/advertisement/advertisementInfo.tsx
View file @
205d66f7
...
@@ -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
(
...
...
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