فهرست منبع

修改一些小问题

wangn 5 سال پیش
والد
کامیت
e95cf89139
2فایلهای تغییر یافته به همراه2 افزوده شده و 2 حذف شده
  1. 1 1
      hd/src/pages/layout/topbar/index.vue
  2. 1 1
      hd/src/service/common/index.js

+ 1 - 1
hd/src/pages/layout/topbar/index.vue

@@ -16,7 +16,7 @@
 				<span>{{ item.name }}</span>
 				<span>{{ item.name }}</span>
 			</el-menu-item>
 			</el-menu-item>
 		</el-menu> -->
 		</el-menu> -->
-    <el-dropdown class="user_top" trigger="click" @command="shopCommand"> 
+    <el-dropdown class="user_top" trigger="click" @command="shopCommand"  v-if="shopShow"> 
 		  <div>{{currentShop}}&nbsp;<i class="el-icon-caret-bottom"></i></div>
 		  <div>{{currentShop}}&nbsp;<i class="el-icon-caret-bottom"></i></div>
       <el-dropdown-menu slot="dropdown" class="popper-dropdown-menu-user">
       <el-dropdown-menu slot="dropdown" class="popper-dropdown-menu-user">
         <el-dropdown-item v-for="(item, index) in shopList" :key="index" :class="{'shopActive': item.id == userInfo.currentShopId}" :command="item">{{item.shopName}}</el-dropdown-item>
         <el-dropdown-item v-for="(item, index) in shopList" :key="index" :class="{'shopActive': item.id == userInfo.currentShopId}" :command="item">{{item.shopName}}</el-dropdown-item>

+ 1 - 1
hd/src/service/common/index.js

@@ -236,7 +236,7 @@ export class CommonService extends BaseService {
 		});
 		});
   }
   }
   
   
-  // 获取门店列表  shop/toggle-shop
+  // 获取门店列表
   shopAll(params) {  
   shopAll(params) {  
 		return this.request({
 		return this.request({
 			url: '/shop/all',
 			url: '/shop/all',