fix: 一些类型错误修改
This commit is contained in:
		
							parent
							
								
									21e980a645
								
							
						
					
					
						commit
						2d98914122
					
				| @ -5,9 +5,9 @@ | |||||||
|         "name": "default", |         "name": "default", | ||||||
|         "material": { |         "material": { | ||||||
|           "certpath": "/Users/wangzhongjie/.ohos/config/openharmony/default_car_next_xIuD6UMCLxZgyeiH-w2XdDck6DewIfdHAvOk_FUbNZo=.cer", |           "certpath": "/Users/wangzhongjie/.ohos/config/openharmony/default_car_next_xIuD6UMCLxZgyeiH-w2XdDck6DewIfdHAvOk_FUbNZo=.cer", | ||||||
|           "storePassword": "0000001B8E9DDF652EF92FEE3FEA48705C778A1477A239E20DF0355D7EB87B3674868AFF199387F065F4FF", |           "storePassword": "0000001BF61E21FB976B39E89B0A4C96C700B26D123A135B19960F46FB1AD287C476CBC184970AADEAE427", | ||||||
|           "keyAlias": "debugKey", |           "keyAlias": "debugKey", | ||||||
|           "keyPassword": "0000001B5154009358EC6DAB38F99A25239BD735D77777640200E7EF810C1330F87F76DAA287AAC62AED71", |           "keyPassword": "0000001B1780EFE659F33C63102C1B0B4C88158F0C099302DEFA08FD4D797DA70DF2B7EE539D79F697B31D", | ||||||
|           "profile": "/Users/wangzhongjie/.ohos/config/openharmony/default_car_next_xIuD6UMCLxZgyeiH-w2XdDck6DewIfdHAvOk_FUbNZo=.p7b", |           "profile": "/Users/wangzhongjie/.ohos/config/openharmony/default_car_next_xIuD6UMCLxZgyeiH-w2XdDck6DewIfdHAvOk_FUbNZo=.p7b", | ||||||
|           "signAlg": "SHA256withECDSA", |           "signAlg": "SHA256withECDSA", | ||||||
|           "storeFile": "/Users/wangzhongjie/.ohos/config/openharmony/default_car_next_xIuD6UMCLxZgyeiH-w2XdDck6DewIfdHAvOk_FUbNZo=.p12" |           "storeFile": "/Users/wangzhongjie/.ohos/config/openharmony/default_car_next_xIuD6UMCLxZgyeiH-w2XdDck6DewIfdHAvOk_FUbNZo=.p12" | ||||||
| @ -18,13 +18,9 @@ | |||||||
|       { |       { | ||||||
|         "name": "default", |         "name": "default", | ||||||
|         "signingConfig": "default", |         "signingConfig": "default", | ||||||
|         "compatibleSdkVersion": "4.0.0(10)", |         "compatibleSdkVersion": 10, | ||||||
|         "runtimeOS": "HarmonyOS", |         "compileSdkVersion": 10, | ||||||
|         "buildOption": { |         "runtimeOS": "OpenHarmony" | ||||||
|           "strictMode": { |  | ||||||
|             "caseSensitiveCheck": true, |  | ||||||
|           } |  | ||||||
|         } |  | ||||||
|       } |       } | ||||||
|     ], |     ], | ||||||
|     "buildModeSet": [ |     "buildModeSet": [ | ||||||
|  | |||||||
| @ -1,18 +1,6 @@ | |||||||
| { | { | ||||||
|   "meta": { |   "lockfileVersion": 2, | ||||||
|     "stableOrder": true |  | ||||||
|   }, |  | ||||||
|   "lockfileVersion": 3, |  | ||||||
|   "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", |   "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", | ||||||
|   "specifiers": { |   "specifiers": {}, | ||||||
|     "libjudgesdk.so@src/cpp/libJudgeSdk": "libjudgesdk.so@src/cpp/libJudgeSdk" |   "packages": {} | ||||||
|   }, |  | ||||||
|   "packages": { |  | ||||||
|     "libjudgesdk.so@src/cpp/libJudgeSdk": { |  | ||||||
|       "name": "libjudgesdk.so", |  | ||||||
|       "version": "1.0.0", |  | ||||||
|       "resolved": "src/cpp/libJudgeSdk", |  | ||||||
|       "registryType": "local" |  | ||||||
|     } |  | ||||||
|   } |  | ||||||
| } | } | ||||||
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -23,7 +23,7 @@ export function deepClone<T>(target: T): T { | |||||||
|     const result: ESObject = Array.isArray(target) ? [] : {}; |     const result: ESObject = Array.isArray(target) ? [] : {}; | ||||||
|     const keys = Object.keys(target) as Array<keyof T>; //注解二 |     const keys = Object.keys(target) as Array<keyof T>; //注解二 | ||||||
|     keys.forEach(key => { |     keys.forEach(key => { | ||||||
|       Reflect.set(result, key, deepClone(Reflect.get(target, key))); |       // Reflect.set(result, key, deepClone(Reflect.get(target, key))); | ||||||
|     }); |     }); | ||||||
|     return result; |     return result; | ||||||
|   } |   } | ||||||
|  | |||||||
| @ -5,9 +5,8 @@ | |||||||
|     "description": "$string:module_desc", |     "description": "$string:module_desc", | ||||||
|     "mainElement": "EntryAbility", |     "mainElement": "EntryAbility", | ||||||
|     "deviceTypes": [ |     "deviceTypes": [ | ||||||
|       "phone", |       "default", | ||||||
|       "tablet", |       "tablet" | ||||||
|       "2in1" |  | ||||||
|     ], |     ], | ||||||
|     "deliveryWithInstall": true, |     "deliveryWithInstall": true, | ||||||
|     "installationFree": false, |     "installationFree": false, | ||||||
| @ -45,7 +44,7 @@ | |||||||
|             "name": "ohos.extension.backup", |             "name": "ohos.extension.backup", | ||||||
|             "resource": "$profile:backup_config" |             "resource": "$profile:backup_config" | ||||||
|           } |           } | ||||||
|         ], |         ] | ||||||
|       } |       } | ||||||
|     ], |     ], | ||||||
|     "requestPermissions": [ |     "requestPermissions": [ | ||||||
| @ -82,13 +81,13 @@ | |||||||
|         "reason": "$string:Permission_application" |         "reason": "$string:Permission_application" | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "name": "ohos.permission.GET_NETWORK_INFO", |         "name": "ohos.permission.GET_NETWORK_INFO" | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "name": "ohos.permission.SET_NETWORK_INFO", |         "name": "ohos.permission.SET_NETWORK_INFO" | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "name": "ohos.permission.REBOOT", |         "name": "ohos.permission.REBOOT" | ||||||
|       }, |       }, | ||||||
|       { |       { | ||||||
|         "name": "ohos.permission.MICROPHONE", |         "name": "ohos.permission.MICROPHONE", | ||||||
|  | |||||||
| @ -3,9 +3,8 @@ | |||||||
|     "name": "entry_test", |     "name": "entry_test", | ||||||
|     "type": "feature", |     "type": "feature", | ||||||
|     "deviceTypes": [ |     "deviceTypes": [ | ||||||
|       "phone", |       "default", | ||||||
|       "tablet", |       "tablet" | ||||||
|       "2in1" |  | ||||||
|     ], |     ], | ||||||
|     "deliveryWithInstall": true, |     "deliveryWithInstall": true, | ||||||
|     "installationFree": false |     "installationFree": false | ||||||
|  | |||||||
| @ -1,6 +1,7 @@ | |||||||
| { | { | ||||||
|   "modelVersion": "5.0.0", |   "hvigorVersion": "3.2.4", | ||||||
|   "dependencies": { |   "dependencies": { | ||||||
|  |     "@ohos/hvigor-ohos-plugin": "3.2.4" | ||||||
|   }, |   }, | ||||||
|   "execution": { |   "execution": { | ||||||
|     // "analyze": "normal",                     /* Define the build analyze mode. Value: [ "normal" | "advanced" | false ]. Default: "normal" */ |     // "analyze": "normal",                     /* Define the build analyze mode. Value: [ "normal" | "advanced" | false ]. Default: "normal" */ | ||||||
|  | |||||||
							
								
								
									
										1
									
								
								hvigor/hvigor-wrapper.js
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										1
									
								
								hvigor/hvigor-wrapper.js
									
									
									
									
									
										Executable file
									
								
							
										
											
												File diff suppressed because one or more lines are too long
											
										
									
								
							| @ -1,26 +1,19 @@ | |||||||
| { | { | ||||||
|   "meta": { |   "lockfileVersion": 2, | ||||||
|     "stableOrder": true |  | ||||||
|   }, |  | ||||||
|   "lockfileVersion": 3, |  | ||||||
|   "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", |   "ATTENTION": "THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.", | ||||||
|   "specifiers": { |   "specifiers": { | ||||||
|     "@ohos/crypto-js@2.0.3": "@ohos/crypto-js@2.0.3", |     "@ohos/crypto-js@2.0.3": "@ohos/crypto-js@2.0.3", | ||||||
|     "@ohos/hypium@1.0.19": "@ohos/hypium@1.0.19" |     "@ohos/hypium@1.0.19": "@ohos/hypium@1.0.19" | ||||||
|   }, |   }, | ||||||
|   "packages": { |   "packages": { | ||||||
|     "@ohos/crypto-js@2.0.3": { |     "@ohos/hypium@1.0.19": { | ||||||
|       "name": "@ohos/crypto-js", |       "resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/hypium/-/hypium-1.0.19.har", | ||||||
|       "version": "2.0.3", |       "integrity": "sha512-cEjDgLFCm3cWZDeRXk7agBUkPqjWxUo6AQeiu0gEkb3J8ESqlduQLSIXeo3cCsm8U/asL7iKjF85ZyOuufAGSQ==", | ||||||
|       "integrity": "sha512-LuHaR1kD5PxnOXnuR1fWvPwGtbed9Q/QGzk6JOh8y5Wdzvi8brPesODZiaWf9scOVRHsbTPOtZw91vWB35p1vQ==", |  | ||||||
|       "resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/crypto-js/-/crypto-js-2.0.3.har", |  | ||||||
|       "registryType": "ohpm" |       "registryType": "ohpm" | ||||||
|     }, |     }, | ||||||
|     "@ohos/hypium@1.0.19": { |     "@ohos/crypto-js@2.0.3": { | ||||||
|       "name": "@ohos/hypium", |       "resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/crypto-js/-/crypto-js-2.0.3.har", | ||||||
|       "version": "1.0.19", |       "integrity": "sha512-LuHaR1kD5PxnOXnuR1fWvPwGtbed9Q/QGzk6JOh8y5Wdzvi8brPesODZiaWf9scOVRHsbTPOtZw91vWB35p1vQ==", | ||||||
|       "integrity": "sha512-cEjDgLFCm3cWZDeRXk7agBUkPqjWxUo6AQeiu0gEkb3J8ESqlduQLSIXeo3cCsm8U/asL7iKjF85ZyOuufAGSQ==", |  | ||||||
|       "resolved": "https://ohpm.openharmony.cn/ohpm/@ohos/hypium/-/hypium-1.0.19.har", |  | ||||||
|       "registryType": "ohpm" |       "registryType": "ohpm" | ||||||
|     } |     } | ||||||
|   } |   } | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user