diff --git a/ui/src/assets/hit-test-empty.png b/ui/src/assets/hit-test-empty.png
index 83a2c9a06..c25303859 100644
Binary files a/ui/src/assets/hit-test-empty.png and b/ui/src/assets/hit-test-empty.png differ
diff --git a/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue b/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue
index d1622f124..59ddfd4f6 100644
--- a/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue
+++ b/ui/src/components/ai-chat/component/operation-button/LogOperationButton.vue
@@ -8,7 +8,12 @@
-
+
@@ -33,7 +38,7 @@
placement="top"
>
-
+
@@ -54,7 +59,13 @@
-
+
@@ -70,20 +81,20 @@ import { MsgError } from '@/utils/message'
import { t } from '@/locales'
const route = useRoute()
const {
- params: { id }
+ params: { id },
} = route as any
const props = defineProps({
data: {
type: Object,
- default: () => {}
+ default: () => {},
},
applicationId: {
type: String,
- default: ''
+ default: '',
},
tts: Boolean,
- tts_type: String
+ tts_type: String,
})
const emit = defineEmits(['update:data'])
@@ -135,12 +146,9 @@ function markdownToPlainText(md: string) {
}
function removeFormRander(text: string) {
- return text
- .replace(/[\s\S]*?<\/form_rander>/g, '')
- .trim()
+ return text.replace(/[\s\S]*?<\/form_rander>/g, '').trim()
}
-
const playAnswerText = (text: string) => {
if (!text) {
text = t('chat.tip.answerMessage')
@@ -165,7 +173,8 @@ const playAnswerTextPart = () => {
}
if (audioList.value[currentAudioIndex.value].includes('