Commit d90d7795 by Liu

fix:loading加载时机

parent 50a91ff5
...@@ -99,8 +99,8 @@ export const ChatAnswerBox: React.FC<ChatAnswerBoxProps> = ({ record, showIndex, ...@@ -99,8 +99,8 @@ export const ChatAnswerBox: React.FC<ChatAnswerBoxProps> = ({ record, showIndex,
style={{ background: '#F7FAFD' }} style={{ background: '#F7FAFD' }}
className="rounded-[20px] box-border px-[16px] py-[12px] sm:px-[24px] sm:py-[20px] relative flex-1 min-w-0" className="rounded-[20px] box-border px-[16px] py-[12px] sm:px-[24px] sm:py-[20px] relative flex-1 min-w-0"
> >
{item.answer?.length || item.cardList?.length {(item.answer != null && item.answer !== '') || (Array.isArray(item.cardList) && item.cardList.length > 0)
? ( ? (
<div className="content"> <div className="content">
{item.isShow && ( {item.isShow && (
<ChatAnswerShower <ChatAnswerShower
......
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