fix(chat): Repair the copy button function does not work in the case of http

This commit is contained in:
dataeaseShu
2025-08-11 09:33:25 +08:00
parent 4923dbb6b2
commit ab239ea36a
3 changed files with 3 additions and 3 deletions
@@ -40,7 +40,7 @@ const props = withDefaults(
}
)
const { copy } = useClipboard()
const { copy } = useClipboard({ legacy: true })
const loading = ref<boolean>(false)
const { t } = useI18n()
const addViewRef = ref(null)
+1 -1
View File
@@ -20,7 +20,7 @@ import { useI18n } from 'vue-i18n'
import { cloneDeep } from 'lodash-es'
const { t } = useI18n()
const { copy } = useClipboard()
const { copy } = useClipboard({ legacy: true })
const keywords = ref('')
const activeStep = ref(0)
+1 -1
View File
@@ -379,7 +379,7 @@ import { ClickOutside as vClickOutside } from 'element-plus-secondary'
import icon_warning_filled from '@/assets/svg/icon_warning_filled.svg'
import { useClipboard } from '@vueuse/core'
const { copy } = useClipboard()
const { copy } = useClipboard({ legacy: true })
const { t } = useI18n()
const keyword = ref('')