tcp修改提交
This commit is contained in:
		
							parent
							
								
									8b915c2465
								
							
						
					
					
						commit
						f35cf5fd22
					
				| @ -150,11 +150,12 @@ export default class TcpClient { | ||||
|       promise.then(() => { | ||||
|         reslove(true) | ||||
|       }).catch(err => { | ||||
| 
 | ||||
|         if(!globalThis.getCloseTcp){ | ||||
|         globalThis.tcpSendNum++ | ||||
|         if(!globalThis.getCloseTcp&&globalThis.tcpSendNum>5){ | ||||
|           setTimeout(async () => { | ||||
|             getTCP(true) | ||||
|           }, 3000) | ||||
|           globalThis.tcpSendNum=0 | ||||
|           return | ||||
|         } | ||||
|         globalThis.getCloseTcp=true | ||||
|  | ||||
| @ -34,7 +34,7 @@ export default class EntryAbility extends UIAbility { | ||||
|         // globalThis.version ='2023.12.13.01';
 | ||||
|         globalThis.version = GlobalConfig.version.jn.km3[0]; | ||||
|         globalThis.judgeVersion =  GlobalConfig.version.jn.km3[1]; | ||||
| 
 | ||||
|         globalThis.tcpSendNum=0 | ||||
|         globalThis.videoVersion= '1.0' | ||||
| 
 | ||||
|         //视频遮挡
 | ||||
|  | ||||
| @ -46,7 +46,7 @@ export default struct  DeductedPopup { | ||||
|   } | ||||
| 
 | ||||
|   changeCurrentItems(){ | ||||
|     console.info('popup',JSON.stringify(this.currentItems)); | ||||
|     if(this.currentItems){ | ||||
|       //@ts-ignore | ||||
|       this.universalMarkRules = this.markRules.filter(item => (this.currentItems.includes(item.itemno) || this.currentItems.includes(item.itemno + ''))); | ||||
|       this.currentIndex = this.defaultTabIndex | ||||
| @ -54,7 +54,7 @@ export default struct  DeductedPopup { | ||||
|         this.universalMarkRules = this.markRules.filter(item => item.itemno == 20 ) | ||||
|       } | ||||
|     } | ||||
| 
 | ||||
|   } | ||||
|   //上一页 下一页 | ||||
|   goPage(typeIndex){ | ||||
|     const currentIndex = this.currentIndex | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user