fix:提交视频文件mock数据
This commit is contained in:
		
							parent
							
								
									8ec6377f77
								
							
						
					
					
						commit
						d30b6d67ab
					
				| @ -17,6 +17,7 @@ import { | ||||
| } from '../common/service/indexService'; | ||||
| import abilityAccessCtrl, { Permissions } from '@ohos.abilityAccessCtrl'; | ||||
| import promptAction from '@ohos.promptAction'; | ||||
| import { VideoConfigData } from '../mock'; | ||||
| 
 | ||||
| @Entry | ||||
| @Component | ||||
| @ -31,38 +32,7 @@ struct Index { | ||||
|   @State ratio: number = 1700 / 960 | ||||
|   @State loading: boolean = true | ||||
|   @State fd: number = -1; | ||||
|   @State param: VideoConfig = { | ||||
|     videoNum: '1', | ||||
|     spls: '1', | ||||
|     wz: '0,0', | ||||
|     faceFlag: false, | ||||
|     shuiying: true, | ||||
|     pztd: '2', | ||||
|     ljlx: '', | ||||
|     ip: '192.168.36.94', | ||||
|     port: '554', | ||||
|     userName: 'admin', | ||||
|     pwd: '12345qwe', | ||||
|     td1: '1', | ||||
|     td2: '2', | ||||
|     td3: '3', | ||||
|     td4: '4', | ||||
|     videoRecord1: false, | ||||
|     videoRecord2: true, | ||||
|     videoRecord3: false, | ||||
|     videoRecord4: false, | ||||
|     text1: '', | ||||
|     text2: '', | ||||
|     text3: '', | ||||
|     dolt: '', | ||||
|     fontSize: '', | ||||
|     rlls: '1', | ||||
|     spzd4: false, | ||||
|     spzd3: false, | ||||
|     spzd2: false, | ||||
|     spzd1: false, | ||||
|     zdyz: '5', | ||||
|   } | ||||
|   @State param: VideoConfig = VideoConfigData | ||||
|   fileHelper = null; | ||||
|   private interval = null; | ||||
|   private context = getContext(this) as common.UIAbilityContext; | ||||
|  | ||||
| @ -92,9 +92,4 @@ export default struct Index { | ||||
| 
 | ||||
|   outClick() { | ||||
|   } | ||||
| 
 | ||||
|   saveLog() { | ||||
|     // this.FileLog.initFileLogo('d          .0ateLog') | ||||
|     // this.FileLog.createFile('123') | ||||
|   } | ||||
| } | ||||
| @ -34,7 +34,6 @@ struct Index { | ||||
|     { key: '第三路' }, | ||||
|     { key: '第四路' }, | ||||
|   ] | ||||
|   private vocObj = null; | ||||
|   private fileUtil: FileUtil | ||||
|   private context = getContext(this) as common.UIAbilityContext; | ||||
|   private controller1: VideoController = new VideoController() | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user