修改dlp文件中文文件名乱码

Signed-off-by: 神里linghui <1229357742@qq.com>
This commit is contained in:
神里linghui 2024-11-01 12:38:27 +00:00 committed by Gitee
parent 19644e16b3
commit 14223232f9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 5 additions and 5 deletions

View File

@ -2,8 +2,8 @@
"app": {
"bundleName": "com.ohos.dlpmanager",
"vendor": "example",
"versionCode": 1000119,
"versionName": "1.0.1.19",
"versionCode": 1000120,
"versionName": "1.0.1.20",
"icon": "$media:app_icon",
"label": "$string:app_name",
"minAPIVersion": 12,

View File

@ -16,8 +16,8 @@
"app": {
"bundleName": "com.ohos.dlpmanager",
"vendor": "example",
"versionCode": 1000119,
"versionName": "1.0.1.19",
"versionCode": 1000120,
"versionName": "1.0.1.20",
"icon": "$media:app_icon",
"label": "$string:app_name",
"minAPIVersion": 12,

View File

@ -235,7 +235,7 @@ export default class ViewAbility extends ServiceExtensionAbility {
'name': this.linkFileWriteable
},
'fileName': {
'name': this.fileName
'name': decodeURIComponent(this.fileName)
},
'ohos.dlp.params.index': this.appIndex,
'ohos.dlp.params.moduleName': this.sandboxModuleName,