diff --git a/components/privacy-popup/privacy-popup.vue b/components/privacy-popup/privacy-popup.vue index f34767f..d4c30fe 100644 --- a/components/privacy-popup/privacy-popup.vue +++ b/components/privacy-popup/privacy-popup.vue @@ -95,6 +95,12 @@ export default { * 根据是否需要授权决定弹窗或 emit agree */ checkAndShow(needAuthorization) { + if (uni.getStorageSync('skipPrivacyCheck')) { + uni.removeStorageSync('skipPrivacyCheck'); + this.$emit('agree'); + return; + } + if (needAuthorization) { const privacyAgreed = uni.getStorageSync('privacyAgreed'); if (privacyAgreed) { diff --git a/pages_tool/form/formdata.vue b/pages_tool/form/formdata.vue index db3deb7..0742639 100644 --- a/pages_tool/form/formdata.vue +++ b/pages_tool/form/formdata.vue @@ -48,6 +48,8 @@ export default { return false } + uni.setStorageSync('skipPrivacyCheck', true); + this.uniacid = options.uniacid this.id = options.id || 0