소스 검색

Merge pull request #214 from John-Hong/John/release-2.13.0/SCRM-4320

当从支付页面返回后,防止刷新其他页面
Tron 2 년 전
부모
커밋
207c9d2750
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/App.vue

+ 1 - 1
src/App.vue

@@ -110,7 +110,7 @@ export default {
           uni.setStorageSync('carList', JSON.parse(carList));
         }
         if (buildingId) {
-          uni.setStorageSync('buildingId', buildingId);
+          uni.setStorageSync('buildingId', JSON.parse(buildingId));
         }
         this.$store.commit('SET_IS_INIT', false);
         window.token = `${window.location.href}`.replace(/.*wx\/(.*)\/.*/g, '$1');