@@ -1,6 +1,6 @@
window.czrConfig = {
menuLayout: 'top-left', // 'left'-左侧,'top-left'-顶部左侧
dify: {
- appId: '86945884-adf3-4e22-91b2-e48c38b44e9e'
+ appId: 'b9aca5c8-f0bb-4313-965f-3375d7a55579'
}
@@ -73,12 +73,7 @@ const state: any = reactive({
inputs: {},
parent_message_id: null
},
- chats: [
- {
- type: 'answer',
- welcome: true,
- },
- ],
+ chats: [],
goodMap: new Map(),
badMap: new Map(),
autoList: []
@@ -161,6 +156,7 @@ const initChat = () => {
{
type: 'answer',
welcome: true,
+ content: res.opening_statement
]
@@ -4,7 +4,7 @@
<img src="@/views/smart-ask-answer/assistant/imgs/avatar.png"/>
</div>
<div class="answer-content">
- <template v-if="item.welcome">下午好,i口岸智行官为您服务,有什么可以帮您?</template>
+ <template v-if="item.welcome">{{ item.content }}</template>
<template v-else>
<template v-for="part in contentCpt">
<template v-if="part.type === 'think'">