fix: copy
This commit is contained in:
parent
cc40b5c275
commit
32f9becb7c
@ -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>
|
||||||
|
|||||||
@ -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
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user