Bladeren bron

删除不用数据

gcz 3 jaren geleden
bovenliggende
commit
7f7150af5a
1 gewijzigde bestanden met toevoegingen van 0 en 24 verwijderingen
  1. 0 24
      pages/index/index.vue

+ 0 - 24
pages/index/index.vue

@@ -140,30 +140,6 @@
 					console.log('err',err);
 				})
 			},
-			noticeClick(e){
-				console.log('e',e);
-				// console.log('this.devicemsg[e]',this.devicemsg[e]);
-				// 消息类型 1-维保通知 2-预警通知 3-确认通知
-				// console.log('this.devicemsg',this.devicemsg);
-				// console.log('this.devicemsg[e]',this.devicemsg[e]);
-				// console.log('this.devicemsg[e].msgType',this.devicemsg[e].msgType);
-				if(this.devicemsg[e].msgType=='1'){
-					uni.switchTab({
-						url: '/pages/maintenanceCenter/maintenanceCenter',
-						fail(e) {
-							console.log('',e);
-						}
-					})
-				}else if(this.devicemsg[e].msgType=='2'){
-					uni.switchTab({
-						url: '/pages/warningCenter/warningCenter'
-					})
-				}else if(this.devicemsg[e].msgType=='3'){
-					uni.navigateTo({
-						url: '/pages/center/mywork/mywork'
-					})
-				}
-			},
 
 		}
 	}