From 3c0f2cd6720032f83ab34daff947bf31f3bb96b3 Mon Sep 17 00:00:00 2001 From: yangyin <1850366751@qq.com> Date: 星期五, 29 十一月 2024 13:32:52 +0800 Subject: [PATCH] 优化手机扫码 --- src/layout/component/sidebar/SidebarOther.vue | 5 +++-- 1 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/layout/component/sidebar/SidebarOther.vue b/src/layout/component/sidebar/SidebarOther.vue index 00e4f8f..c04bfa8 100644 --- a/src/layout/component/sidebar/SidebarOther.vue +++ b/src/layout/component/sidebar/SidebarOther.vue @@ -54,7 +54,7 @@ <template #default> <div class="relative"> <div class="p-0 box-shadow-none rounded-[10px]"> - <p class="text-center text-[#5e6772] m-0 p-0 leading-5 text-[12px]">娓╅Θ鎻愮ず:璇蜂娇鐢ㄦ墜鏈烘祻瑙堝櫒鎵弿浜岀淮鐮�</p> + <p class="text-center text-[#5e6772] m-0 p-0 leading-5 text-[12px]">璇蜂娇鐢ㄦ墜鏈烘祻瑙堝櫒鎵弿浜岀淮鐮�</p> <p class="text-center text-[red] m-0 p-0 leading-5 text-[12px]">(涓嶆敮鎸佸井淇℃壂鎻�)</p> <div ref="setPhoneQRCode" class="mt-[8px] mb-[8px]"></div> <p class="text-center text-[#5e6772] m-0 p-0 leading-5"> @@ -312,7 +312,8 @@ const setPhoneQRCode = ref<HTMLElement | null>(null); // 鍒濆鍖栫敓鎴愪簩缁寸爜 const initQrcode = () => { - const url = `${SERVE_URL}ai_html/views/mobileDownload/index.html`; + let currentTime = new Date().getTime(); + const url = `${SERVE_URL}ai_html/views/mobileDownload/index.html?v=${currentTime}`; nextTick(() => { (<HTMLElement>setPhoneQRCode.value).innerHTML = ''; new QRCode(setPhoneQRCode.value, { -- Gitblit v1.9.3