shish 4 달 전
부모
커밋
cf43699773
2개의 변경된 파일0개의 추가작업 그리고 13개의 파일을 삭제
  1. 0 4
      hdApp/src/admin/home/mall.vue
  2. 0 9
      hdApp/src/admin/home/workbench.vue

+ 0 - 4
hdApp/src/admin/home/mall.vue

@@ -508,10 +508,6 @@ export default {
 		showShopName(){
 			currentShop().then(res => {
 				if(res.code == 1){
-					let sjName = res.data.merchantName ? res.data.merchantName : ''
-					let shopName = res.data.shopName ? res.data.shopName : ''
-					let title = shopName == '首店' ? sjName : sjName+' '+shopName
-					uni.setNavigationBarTitle({ title: title })
           this.shopInfo = res.data?res.data:[]
           if(this.shopInfo.avatar) {
             uni.setStorageSync('shopAvatar', this.shopInfo.avatar);

+ 0 - 9
hdApp/src/admin/home/workbench.vue

@@ -293,7 +293,6 @@
         // 判断是否登录
         if(!this.$util.isEmpty(this.loginInfo.admin) && this.loginInfo.admin.currentShopId > 0){
             this.handleLoginStyle()  
-            // this.getUnReadMsgCount()
             this.showShopName()
         }
 
@@ -402,7 +401,6 @@
           }
         })
         this.showShopName()
-        this.getUnReadMsgCount()
       },
       handleLoginStyle(){
           this.loginStyle  = 1
@@ -750,13 +748,6 @@
           return false
         }
         // #endif
-      },
-      getUnReadMsgCount(){
-        unReadMsgCount().then(res=>{
-          if(res.code == 1){
-            this.unReadMsgNum = res.data.msg_count
-          }
-        })
       }
     }
   };