chore:二维码

This commit is contained in:
2026-10-27 10:14:55 +08:00
parent 69e59d7902
commit 18875cda43
4 changed files with 152 additions and 124 deletions

View File

@@ -769,7 +769,11 @@ export default {
});
},
saveQr() {
if (!this.qrUrl) return;
if (!this.qrUrl) {
// 不再静默返回: qr_url 为空说明后端接口未返回二维码地址, 提示出来便于定位
uni.showToast({ title: '名片二维码未生成(接口未返回 qr_url)', icon: 'none' });
return;
}
uni.downloadFile({
url: this.qrUrl,
success: res => {