From 37eff5ad1659a320aa1734e1fd1145baf4e601c3 Mon Sep 17 00:00:00 2001 From: wujingjing <gersonwu@qq.com> Date: 星期四, 05 十二月 2024 13:42:23 +0800 Subject: [PATCH] Merge branch 'test' of http://47.103.154.90:83/r/WI/Web.V1.0 into test --- src/components/chat/Chat.vue | 13 +++++-------- 1 files changed, 5 insertions(+), 8 deletions(-) diff --git a/src/components/chat/Chat.vue b/src/components/chat/Chat.vue index 6fb1ea7..1f8ac88 100644 --- a/src/components/chat/Chat.vue +++ b/src/components/chat/Chat.vue @@ -305,26 +305,24 @@ <div class="sticky bottom-0 w-full p-6 bg-[rgb(247,248,250)] flex justify-center" v-if="isShareCheck"></div> </div> <CustomDrawer v-model:isShow="drawerIsShow" @updateChatInput="updateChatInput" /> - <el-dialog title="鍒嗕韩閾炬帴" v-model="shareCodeIsShow" width="25%" modal-append-to-body lock-scroll :before-close="closeShareClick"> + <el-dialog title="鍒嗕韩閾炬帴" v-model="shareCodeIsShow" width="12%" modal-append-to-body lock-scroll :before-close="closeShareClick"> <div class="w100 h100 flex justify-center items-center flex-col text-center"> <div class="qrcode h100" ref="qrcodeRef"></div> - <div class="h100 w100 flex flex-col justify-center items-center"> - <span class="h100 text-[#8d8e99] text-[12px] mt-2">{{ shareCoderUrl }}</span> - <span class="text-[#1d86ff] text-[12px] cursor-pointer" @click="copyShareCodeClick">澶嶅埗</span> - </div> </div> </el-dialog> </div> </template> <script setup lang="ts"> -import axios, { CancelTokenSource } from 'axios'; +import type { CancelTokenSource } from 'axios'; +import axios from 'axios'; import { ElMessage } from 'element-plus'; import { findLast, orderBy } from 'lodash-es'; import moment from 'moment'; import QRCode from 'qrcodejs2-fixes'; import { computed, nextTick, onActivated, onMounted, ref } from 'vue'; import useClipboard from 'vue-clipboard3'; +import { loadAmisSource } from '../amis/load'; import FeedbackPanel from './components/FeedbackPanel.vue'; import { useAssistantContentOpt } from './hooks/useAssistantContentOpt'; import { convertProcessItem, useScrollLoad } from './hooks/useScrollLoad'; @@ -351,7 +349,6 @@ import emitter from '/@/utils/mitt'; import { ErrorCode } from '/@/utils/request'; import { toMyFixed } from '/@/utils/util'; -import { loadAmisSource } from '../amis/load'; const chatWidth = '75%'; const voicePageIsShow = ref(false); let isTalking = ref(false); @@ -872,7 +869,7 @@ colorLight: '#ffffff', }); }); - // toClipboard(url); + copyShareCodeClick(); }; //閾炬帴澶嶅埗 const copyShareCodeClick = () => { -- Gitblit v1.9.3