mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 10:02:46 +00:00
fix: copy
This commit is contained in:
parent
cc40b5c275
commit
32f9becb7c
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue