From 026fc44af9a3210231e307735ff8e1db780c5361 Mon Sep 17 00:00:00 2001 From: "wkylin.w" Date: Thu, 16 Nov 2023 09:45:52 +0800 Subject: [PATCH] fix: answer display --- src/pages/home/index.jsx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pages/home/index.jsx b/src/pages/home/index.jsx index d0623109..65a50cb1 100644 --- a/src/pages/home/index.jsx +++ b/src/pages/home/index.jsx @@ -146,9 +146,11 @@ const Home = () => { -
- {loading ? 'AI思考中...' : aiText ? : ''} -
+ {aiText ? ( +
+ {loading ? 'AI思考中...' : } +
+ ) : null} ) }