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

Merge pull request !324 from 神里linghui/master
This commit is contained in:
openharmony_ci 2024-11-04 08:30:15 +00:00 committed by Gitee
commit 0237eba0f9
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,