Explorar o código

可视化任务列表

彭宇 %!s(int64=2) %!d(string=hai) anos
pai
achega
22524edfbc
Modificáronse 1 ficheiros con 1 adicións e 9 borrados
  1. 1 9
      src/components/vBottomMenu.vue

+ 1 - 9
src/components/vBottomMenu.vue

@@ -708,25 +708,17 @@
 
       selectMessageById(id) {
         selectMessageById(id).then(response => {
-          /** 获取消息个数 */
-          this.selectMessageCount();
           /** 获取消息列表 */
           this.selectMessageList();
         });
       },
-      /** 获取消息个数 */
-      selectMessageCount(){
-        selectMessageCount(Cookies.get("userId")).then(response => {
-          this.messageCount = response.data
-        });
-      },
       /** 获取消息列表 */
       selectMessageList(){
         selectMessageList(Cookies.get("userId")).then(response => {
           this.messageList = response.data
+          this.messageCount = res.data.length
         });
       },
-
       handleCheckedCitiesChangeBan(value) {
 				this.choseLayerSwitchingList(this.banCheckList)
 			},