Explorar el Código

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

当从支付页面返回后,防止刷新其他页面
Tron hace 2 años
padre
commit
207c9d2750
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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');