Explorar o código

获取商城名称方式修改

shish %!s(int64=6) %!d(string=hai) anos
pai
achega
e523b57010
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      mall/src/pages/home/index.vue

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

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