Преглед изворни кода

获取商城名称方式修改

shish пре 6 година
родитељ
комит
e523b57010
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      mall/src/pages/home/index.vue

+ 1 - 1
mall/src/pages/home/index.vue

@@ -48,7 +48,7 @@ export default {
     init() {
     init() {
       getOrderShop().then(res => {
       getOrderShop().then(res => {
         uni.setNavigationBarTitle({
         uni.setNavigationBarTitle({
-          title: `${res.shop.merchantName}`
+          title: `${res.merchant.merchantName}`
         });
         });
       });
       });
       this._detail();
       this._detail();