xuqiang 5 лет назад
Родитель
Сommit
77fc452c43
3 измененных файлов с 4 добавлено и 2 удалено
  1. 2 1
      src/pages/confirmorder.vue
  2. 1 0
      src/pages/details.vue
  3. 1 1
      src/pages/store/homePage.vue

+ 2 - 1
src/pages/confirmorder.vue

@@ -30,7 +30,7 @@
             </div>
         </div>
         <img src="../static/imgs/img_dizhitiao@3x.png" alt="" />
-        <div class="box-tit" @click="navigateTo('/pages/store/homePage?id=' + store.id, false)">
+        <div class="box-tit" @click="navigateTo('/pages/store/homePage?id=' + store.userId, false)">
             <img :src="store.logo" alt="" />
             <p>{{ store.storeName }}</p>
         </div>
@@ -167,6 +167,7 @@ export default {
                     console.log(res);
                     this.total = res.total;
                     this.store = res.store;
+                    console.log(this.store);
                     this.Boxes = res.selectedBoxes;
                     this.postage = res.selectedCase.postage;
                     // console.log(this.postage);

+ 1 - 0
src/pages/details.vue

@@ -150,6 +150,7 @@ export default {
                 .then(res => {
                     console.log(res);
                     this.storeInfo = res;
+                    console.log(this.storeInfo.id);
                 })
                 .catch(e => {
                     this.hideLoading();

+ 1 - 1
src/pages/store/homePage.vue

@@ -197,7 +197,7 @@ export default {
             });
         },
         getStore() {
-            console.log(this.userStoreInfo);
+            // console.log(this.userStoreInfo);
             if (this.userStoreInfo) {
                 if (this.userStoreInfo.id.toString() === this.$mp.options.id || !this.$mp.options.id) {
                     this.isMineShop = true;