Commit a6ba29ca by Liu

fix:常见问题展示字段

parent 1d2038af
...@@ -140,10 +140,10 @@ export const Home: React.FC = () => { ...@@ -140,10 +140,10 @@ export const Home: React.FC = () => {
busiType: '01', busiType: '01',
recordType: 'A14', recordType: 'A14',
}) })
if (res && res.data && res.data.questions) { if (res && res.data && res.data.questionList) {
setOtherQuestions((prev: any) => ({ setOtherQuestions((prev: any) => ({
...prev, ...prev,
content: res.data.questions || [], content: res.data.questionList || [],
})) }))
} }
} }
...@@ -200,10 +200,10 @@ export const Home: React.FC = () => { ...@@ -200,10 +200,10 @@ export const Home: React.FC = () => {
busiType: '01', busiType: '01',
recordType: 'A14', recordType: 'A14',
}) })
if (res && res.data && res.data.questions) { if (res && res.data && res.data.questionList) {
setOtherQuestions((prev: any) => ({ setOtherQuestions((prev: any) => ({
...prev, ...prev,
content: res.data.questions || [], content: res.data.questionList || [],
})) }))
} }
} }
......
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