mirror of
https://gh-proxy.org/https://github.com/klinsmaya/SQLBot.git
synced 2026-11-08 01:06:59 +08:00
fix(chat): Repair the copy button function does not work in the case of http
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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)
|
||||
|
||||
@@ -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('')
|
||||
|
||||
Reference in New Issue
Block a user