From 37958cbe3941c08eacad2d02c338eb116aa50cb3 Mon Sep 17 00:00:00 2001 From: ZF sun <34314687@qq.com> Date: Sat, 9 May 2026 08:47:24 +0800 Subject: [PATCH] =?UTF-8?q?feat(privacy):=20=E7=A7=BB=E9=99=A4=E9=9A=90?= =?UTF-8?q?=E7=A7=81=E5=BC=B9=E7=AA=97=E9=85=8D=E7=BD=AE=E6=A3=80=E6=9F=A5?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/privacy-popup/privacy-popup.vue | 19 ++----------------- 1 file changed, 2 insertions(+), 17 deletions(-) diff --git a/components/privacy-popup/privacy-popup.vue b/components/privacy-popup/privacy-popup.vue index 8a76baa..35fb347 100644 --- a/components/privacy-popup/privacy-popup.vue +++ b/components/privacy-popup/privacy-popup.vue @@ -53,15 +53,8 @@ export default { } }, mounted() { - // 检查配置,决定是否显示隐私协议 - const shopInfo = uni.getStorageSync('shopInfo'); - if (shopInfo?.ischina == 1 && shopInfo?.index_login_auth == 1) { - this.listenPrivacySettingChange() - this.curPageShow() - } else { - // 如果不需要显示隐私协议,直接触发同意事件 - this.$emit('agree'); - } + this.listenPrivacySettingChange() + this.curPageShow() }, created() { try { @@ -159,14 +152,6 @@ export default { }, // 主动查询用户隐私政策授权状态 proactive() { - // 检查配置,决定是否显示隐私协议 - const shopInfo = uni.getStorageSync('shopInfo'); - if (!(shopInfo?.ischina == 1 && shopInfo?.index_login_auth == 1)) { - // 如果不需要显示隐私协议,直接触发同意事件 - this.$emit('agree'); - return; - } - // #ifdef MP-WEIXIN if (wx.getPrivacySetting) { wx.getPrivacySetting({