lilei 4 سال پیش
والد
کامیت
413d53ebc6
1فایلهای تغییر یافته به همراه5 افزوده شده و 2 حذف شده
  1. 5 2
      pages/work/index/index.vue

+ 5 - 2
pages/work/index/index.vue

@@ -133,13 +133,16 @@ export default {
 		uni.$on('wsMessage',(e)=>{
 			console.log(e)
 			if(e.type == 'xcz'){
+				// 进度消息
 				if(e.data.level == 'c'){
 					// 启动成功
 					this.startWashCarSuccess()
 				}
+				// 错误消息
+				if(e.data.level == 'f'){
+					
+				}
 			}
-			// 进度消息
-			// 错误消息
 			// 紧急停止成功
 			// this.stopWashCarSuccess()
 			// 复位成功