File tree Expand file tree Collapse file tree
common/changes/@coze/chat-sdk
src/libs/ui-kit/message/components/chatflow-node Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "changes" : [
3+ {
4+ "packageName" : " @coze/chat-sdk" ,
5+ "comment" : " 修复 taro 版本的 chatsdk 没有输出问答节点的 bug" ,
6+ "type" : " patch"
7+ }
8+ ],
9+ "packageName" : " @coze/chat-sdk" ,
10+ "email" : " yangyu.1@bytedance.com"
11+ }
Original file line number Diff line number Diff line change 11{
22 "name" : " @coze/chat-sdk" ,
3- "version" : " 0.1.11-beta.19 " ,
3+ "version" : " 0.1.11-alpha.7d4161 " ,
44 "description" : " Coze chat components for taro" ,
55 "license" : " MIT" ,
66 "author" : " gaoding.devingao@bytedance.com" ,
Original file line number Diff line number Diff line change @@ -19,8 +19,8 @@ export interface ChatflowNodeData {
1919 name : string ;
2020 } [ ] ;
2121 question_card_data ?: {
22- Title : string ;
23- Options : { name : string } [ ] ;
22+ title : string ;
23+ options : { name : string } [ ] ;
2424 } ;
2525}
2626
@@ -98,10 +98,10 @@ const SwitchNode: FC<{
9898 } ) }
9999 >
100100 < Text className = { styles [ 'switch-node-text' ] } >
101- { data ?. question_card_data ?. Title }
101+ { data ?. question_card_data ?. title }
102102 </ Text >
103103 < Spacing vertical gap = { 6 } >
104- { data ?. question_card_data ?. Options ?. map ( ( item , index ) => (
104+ { data ?. question_card_data ?. options ?. map ( ( item , index ) => (
105105 < View
106106 className = { styles [ 'switch-node-switch-item' ] }
107107 key = { index }
You can’t perform that action at this time.
0 commit comments