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