fix: 优化代码
This commit is contained in:
		
							parent
							
								
									19d409cf54
								
							
						
					
					
						commit
						2321052cc1
					
				| @ -48,7 +48,6 @@ export default struct SignalDisplayComponent { | ||||
|     for (let i = 0; i <= 12; i++) { | ||||
|       this.vehicleSignal[i].value = this.signArr[i+2] | ||||
|     } | ||||
| 
 | ||||
|     this.vehicleSignal[13].value = this.signArr[17] | ||||
|     this.vehicleSignal[14].value = this.signArr[18] | ||||
|     this.vehicleSignal[15].value = this.signArr[19] | ||||
| @ -86,11 +85,6 @@ export default struct SignalDisplayComponent { | ||||
|       this.signArr[93] = str2 + str1 + str0 | ||||
|     } | ||||
|     this.GPSColum[10].value = this.signArr[93] | ||||
| 
 | ||||
|     // this.signArr[53]=192.168.7.170' | ||||
|     this.vehicleSignal = JSON.parse(JSON.stringify((this.vehicleSignal))) | ||||
|     this.signArr = JSON.parse(JSON.stringify((this.signArr))) | ||||
|     this.GPSColum = JSON.parse(JSON.stringify((this.GPSColum))) | ||||
|   } | ||||
| 
 | ||||
|   build() { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user