ソースを参照

fix(SCRM-4300): Incident - 停车缴费不能及时支付

john 2 年 前
コミット
a4cff639f8
2 ファイル変更1 行追加1 行削除
  1. 1 0
      src/App.vue
  2. 0 1
      src/utils/common/websocket.js

+ 1 - 0
src/App.vue

@@ -79,6 +79,7 @@ export default {
         if (isReloadLoop) {
           const isReload = await theCommunicationBetweenWechatAndH5IsNormal();
           if (isReload) {
+            uni.removeStorageSync('isReload');
             const { theme } = getsTheCurrentTopic();
             this.$dialog({
               title: '温馨提示',

+ 0 - 1
src/utils/common/websocket.js

@@ -26,7 +26,6 @@ export function isReloadBefore() {
     return new Promise(resolve => {
         try {
             if (Number.parseInt(uni.getStorageSync('isReload')) === 1) {
-                uni.removeStorageSync('isReload');
                 resolve(true)
                 return
             }