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
type="primary"
text
@click="copyClick(form.authentication_value)"
@click="copyClick(form.authentication_value.password_value)"
style="margin: 0 0 0 4px !important"
>
<AppIcon iconName="app-copy"></AppIcon>

View File

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