fix: 读取配置视频设置配置文件
This commit is contained in:
		
							parent
							
								
									0b48c00f7b
								
							
						
					
					
						commit
						296bcbbfc5
					
				| @ -332,7 +332,7 @@ export async function UseAuth(context: common.UIAbilityContext): Promise<boolean | |||||||
|  */ |  */ | ||||||
| export const GetPhotoBase64 = async (context: common.UIAbilityContext): Promise<string> => { | export const GetPhotoBase64 = async (context: common.UIAbilityContext): Promise<string> => { | ||||||
|   //   获取视频参数 |   //   获取视频参数 | ||||||
|   const videoConfig = AppStorage.get<VideoConfig>('videoConfig'); |   const videoConfig = AppStorage.get<VideoConfig>('VideoConfig'); | ||||||
|   const singlePlay: boolean = AppStorage.get<boolean>('singlePlay') || false |   const singlePlay: boolean = AppStorage.get<boolean>('singlePlay') || false | ||||||
|   if (!JudgeConfig.isPhotoOpen || singlePlay) { |   if (!JudgeConfig.isPhotoOpen || singlePlay) { | ||||||
|     return "" |     return "" | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user