From 8e47005cbccfc9eac308e60e430a69091c26fb21 Mon Sep 17 00:00:00 2001 From: zhengyiming <540361168@qq.com> Date: 星期五, 22 八月 2025 17:47:19 +0800 Subject: [PATCH] Merge branch 'master' of http://120.26.58.240:8888/r/flexJobAdminBClient --- src/views/AgreementManage/components/QrcodeDialog.vue | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/views/AgreementManage/components/QrcodeDialog.vue b/src/views/AgreementManage/components/QrcodeDialog.vue index aae81ec..9d44956 100644 --- a/src/views/AgreementManage/components/QrcodeDialog.vue +++ b/src/views/AgreementManage/components/QrcodeDialog.vue @@ -8,8 +8,15 @@ class="qrcode-dialog" > <div class="qrcode-wrapper"> - <vue-qrcode :value="form.qrcodeUrl" tag="img" :options="{ width: 180 }" ref="qrcode"> + <vue-qrcode + v-if="useQrcode" + :value="form.qrcodeUrl" + tag="img" + :options="{ width: 180 }" + ref="qrcode" + > </vue-qrcode> + <img v-else :src="form.qrcodeUrl" style="width: 180px; height: 180px" /> </div> </ProDialog> </template> @@ -27,10 +34,12 @@ form: { qrcodeUrl: string; }; + useQrcode?: boolean; }; const props = withDefaults(defineProps<Props>(), { modelValue: false, + useQrcode: true, }); const emit = defineEmits<{ -- Gitblit v1.9.1