fix(web): share app chat support statement

This commit is contained in:
zhaoying
2026-04-07 18:09:32 +08:00
parent be8c481d6d
commit 856c6f6d78
5 changed files with 58 additions and 11 deletions

View File

@@ -2,7 +2,7 @@
* @Author: ZhaoYing
* @Date: 2026-02-03 16:58:03
* @Last Modified by: ZhaoYing
* @Last Modified time: 2026-03-31 16:24:47
* @Last Modified time: 2026-04-07 18:08:52
*/
/**
* Conversation Page
@@ -178,7 +178,7 @@ const Conversation: FC = () => {
}))
})
} else {
if (features?.opening_statement?.statement) {
if (features?.opening_statement.enabled && features?.opening_statement?.statement) {
setChatList([{
role: 'assistant',
content: features.opening_statement.statement,