Skip to content

Commit 32f9bec

Browse files
fix: copy
1 parent cc40b5c commit 32f9bec

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

ui/src/views/application-overview/xpack-component/XPackLimitDrawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@
5757
<el-button
5858
type="primary"
5959
text
60-
@click="copyClick(form.authentication_value)"
60+
@click="copyClick(form.authentication_value.password_value)"
6161
style="margin: 0 0 0 4px !important"
6262
>
6363
<AppIcon iconName="app-copy"></AppIcon>

ui/src/views/chat/index.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import { useRoute } from 'vue-router'
1313
import useStore from '@/stores'
1414
1515
const route = useRoute()
16-
const { chatUser } = useStore()
16+
const { chatUser, common } = useStore()
1717
1818
const components: any = import.meta.glob('@/views/chat/**/index.vue', {
1919
eager: true,
@@ -27,7 +27,7 @@ const {
2727
const currentTemplate = computed(() => {
2828
let modeName = ''
2929
if (!mode || mode === 'pc') {
30-
modeName = 'pc'
30+
modeName = common.isMobile() ? 'mobile' : 'pc'
3131
} else {
3232
modeName = mode
3333
}

0 commit comments

Comments
 (0)