Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"changes": [
{
"packageName": "@coze/chat-sdk",
"comment": "修复 taro 版本的 chatsdk 没有输出问答节点的 bug",
"type": "patch"
}
],
"packageName": "@coze/chat-sdk",
"email": "yangyu.1@bytedance.com"
}
2 changes: 1 addition & 1 deletion packages/chat-sdk/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@coze/chat-sdk",
"version": "0.1.11-beta.19",
"version": "0.1.11-alpha.7d4161",
"description": "Coze chat components for taro",
"license": "MIT",
"author": "gaoding.devingao@bytedance.com",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ export interface ChatflowNodeData {
name: string;
}[];
question_card_data?: {
Title: string;
Options: { name: string }[];
title: string;
options: { name: string }[];
};
}

Expand Down Expand Up @@ -98,10 +98,10 @@ const SwitchNode: FC<{
})}
>
<Text className={styles['switch-node-text']}>
{data?.question_card_data?.Title}
{data?.question_card_data?.title}
</Text>
<Spacing vertical gap={6}>
{data?.question_card_data?.Options?.map((item, index) => (
{data?.question_card_data?.options?.map((item, index) => (
<View
className={styles['switch-node-switch-item']}
key={index}
Expand Down
Loading