Commit a6ba29ca by Liu

fix:常见问题展示字段

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