fix: copy

This commit is contained in:
wangdan-fit2cloud 2025-07-03 11:31:22 +08:00
parent cc40b5c275
commit 32f9becb7c
2 changed files with 3 additions and 3 deletions

View File

@ -57,7 +57,7 @@
<el-button <el-button
type="primary" type="primary"
text text
@click="copyClick(form.authentication_value)" @click="copyClick(form.authentication_value.password_value)"
style="margin: 0 0 0 4px !important" style="margin: 0 0 0 4px !important"
> >
<AppIcon iconName="app-copy"></AppIcon> <AppIcon iconName="app-copy"></AppIcon>

View File

@ -13,7 +13,7 @@ import { useRoute } from 'vue-router'
import useStore from '@/stores' import useStore from '@/stores'
const route = useRoute() const route = useRoute()
const { chatUser } = useStore() const { chatUser, common } = useStore()
const components: any = import.meta.glob('@/views/chat/**/index.vue', { const components: any = import.meta.glob('@/views/chat/**/index.vue', {
eager: true, eager: true,
@ -27,7 +27,7 @@ const {
const currentTemplate = computed(() => { const currentTemplate = computed(() => {
let modeName = '' let modeName = ''
if (!mode || mode === 'pc') { if (!mode || mode === 'pc') {
modeName = 'pc' modeName = common.isMobile() ? 'mobile' : 'pc'
} else { } else {
modeName = mode modeName = mode
} }