hookehuyr

fix 去掉域名信息

1 <!-- 1 <!--
2 * @Date: 2024-01-16 10:06:47 2 * @Date: 2024-01-16 10:06:47
3 * @LastEditors: hookehuyr hookehuyr@gmail.com 3 * @LastEditors: hookehuyr hookehuyr@gmail.com
4 - * @LastEditTime: 2024-01-30 17:58:07 4 + * @LastEditTime: 2024-12-26 11:15:45
5 * @FilePath: /xysBooking/src/components/qrCode.vue 5 * @FilePath: /xysBooking/src/components/qrCode.vue
6 * @Description: 预约码卡组件 6 * @Description: 预约码卡组件
7 --> 7 -->
...@@ -226,7 +226,7 @@ onMounted(async () => { ...@@ -226,7 +226,7 @@ onMounted(async () => {
226 if (code) { 226 if (code) {
227 data.forEach(item => { 227 data.forEach(item => {
228 // 生成二维码地址 228 // 生成二维码地址
229 - item.qr_code_url = 'http://oa.onwall.cn/admin?m=srv&a=get_qrcode&key=' + item.qr_code; 229 + item.qr_code_url = '/admin?m=srv&a=get_qrcode&key=' + item.qr_code;
230 item.sort = 0; 230 item.sort = 0;
231 }); 231 });
232 const { code: status_code, data: status_data } = await qrcodeStatusAPI({ qr_code: data[select_index.value]?.qr_code }); 232 const { code: status_code, data: status_data } = await qrcodeStatusAPI({ qr_code: data[select_index.value]?.qr_code });
......