feat: support var in suggested questions (#17340)

Co-authored-by: crazywoola <427733928@qq.com>
This commit is contained in:
le0zh 2025-07-11 15:07:32 +08:00 committed by GitHub
commit fe4e2f7921
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
20 changed files with 22 additions and 5 deletions

View file

@ -130,6 +130,7 @@ const OpeningSettingModal = ({
<input
type="input"
value={question || ''}
placeholder={t('appDebug.openingStatement.openingQuestionPlaceholder') as string}
onChange={(e) => {
const value = e.target.value
setTempSuggestedQuestions(tempSuggestedQuestions.map((item, i) => {