Ver código fonte

修复定位

JXDS18FUJT 1 ano atrás
pai
commit
9f4cab33eb
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/m-privacy-popup/m-privacy-popup.vue

+ 1 - 1
src/components/m-privacy-popup/m-privacy-popup.vue

@@ -35,7 +35,7 @@ export default {
   },
   created() {
     const app = getApp();
-    setInterval(() => {
+    setTimeout(() => {
       this.showPrivacy = app.globalData.showPrivacy;
       this.privacyContractName = app.globalData.privacyContractName;
     }, 1000);