فهرست منبع

当从支付页面返回后,防止刷新其他页面

john 2 سال پیش
والد
کامیت
584e850b03
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');