Pārlūkot izejas kodu

语音控制优化

tianhui 3 gadi atpakaļ
vecāks
revīzija
8721b43e58

+ 2 - 2
pages/getin/getin.vue

@@ -381,7 +381,7 @@
 						},1000)
 						},1000)
 						//#ifdef APP-PLUS
 						//#ifdef APP-PLUS
 						device.print(res.data.print);
 						device.print(res.data.print);
-						if(this.speakParkIn==true){
+						if(this.speakParkIn==true||this.speakParkIn==''){
 							speak(res.data.speak);
 							speak(res.data.speak);
 						}
 						}
 						//#endif
 						//#endif
@@ -409,7 +409,7 @@
 					},1000)
 					},1000)
 					//#ifdef APP-PLUS
 					//#ifdef APP-PLUS
 					device.print(res.data.print);
 					device.print(res.data.print);
-					if(this.speakParkIn==true){
+					if(this.speakParkIn==true||this.speakParkIn==''){
 						speak(res.data.speak);
 						speak(res.data.speak);
 					}
 					}
 					//#endif
 					//#endif

+ 1 - 1
pages/getout/getout.vue

@@ -411,7 +411,7 @@
 					});
 					});
 					//#ifdef APP-PLUS
 					//#ifdef APP-PLUS
 					device.print(res.data.print);
 					device.print(res.data.print);
-					if(this.speakParkOut==true){
+					if(this.speakParkOut==true||this.speakParkOut==''){
 						speak(res.data.speak);
 						speak(res.data.speak);
 					}
 					}
 					//#endif
 					//#endif

+ 2 - 2
pages/getout/getoutpage/getoutpage.vue

@@ -230,7 +230,7 @@
 						that.detailModel.payAllbtn = false;
 						that.detailModel.payAllbtn = false;
 					}
 					}
 					//#ifdef APP-PLUS
 					//#ifdef APP-PLUS
-					if(this.speakParkOut==true){
+					if(this.speakParkOut==true||this.speakParkOut==''){
 						that.speaks(res.data.speak);
 						that.speaks(res.data.speak);
 					}
 					}
 					device.print(res.data.print);
 					device.print(res.data.print);
@@ -338,7 +338,7 @@
 				this.$u.api.getOut({spaceId:this.orderID})
 				this.$u.api.getOut({spaceId:this.orderID})
 				.then(res=>{
 				.then(res=>{
 					//#ifdef APP-PLUS
 					//#ifdef APP-PLUS
-					if(this.speakParkOut==true){
+					if(this.speakParkOut==true||this.speakParkOut==''){
 						this.speaks(res.data.speak);
 						this.speaks(res.data.speak);
 					}
 					}
 					device.print(res.data.print);
 					device.print(res.data.print);