Selaa lähdekoodia

去掉消息接口

seyason 3 vuotta sitten
vanhempi
commit
c971308fa1
1 muutettua tiedostoa jossa 25 lisäystä ja 25 poistoa
  1. 25 25
      fhKeeper/formulahousekeeper/octopus/src/views/Home.vue

+ 25 - 25
fhKeeper/formulahousekeeper/octopus/src/views/Home.vue

@@ -338,31 +338,31 @@
 
             // 加载消息
             loadNotice() {
-                this.http.post( this.port.manage.msgList, {},
-                res => {
-                    if (res.code == "ok") {
-                        var list = res.data;
-                        this.popoverData = res.data;
-                        var num = 0;
-                        for(var i in list) {
-                            if(list[i].checked != 1) {
-                                num ++;
-                            }
-                        }
-                        this.num = num;
-                    } else {
-                        this.$message({
-                            message: res.msg,
-                            type: "error"
-                        });
-                    }
-                },
-                error => {
-                    this.$message({
-                        message: error,
-                        type: "error"
-                    });
-                });
+                // this.http.post( this.port.manage.msgList, {},
+                // res => {
+                //     if (res.code == "ok") {
+                //         var list = res.data;
+                //         this.popoverData = res.data;
+                //         var num = 0;
+                //         for(var i in list) {
+                //             if(list[i].checked != 1) {
+                //                 num ++;
+                //             }
+                //         }
+                //         this.num = num;
+                //     } else {
+                //         this.$message({
+                //             message: res.msg,
+                //             type: "error"
+                //         });
+                //     }
+                // },
+                // error => {
+                //     this.$message({
+                //         message: error,
+                //         type: "error"
+                //     });
+                // });
             },
 
             //点击消息的跳转