!125 整改点击最近删除中恢复按钮产生的闪退

Merge pull request !125 from 马世韬/master
This commit is contained in:
openharmony_ci 2022-11-23 12:01:30 +00:00 committed by Gitee
commit 9a14e08857
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 4 additions and 4 deletions

View File

@ -533,7 +533,7 @@ export struct ToolBarComp {
let context: any = getContext(this)
let resource = {
bundleName: "com.ohos.note",
moduleName: "tablet",
moduleName: "default",
id: $r('app.string.restore').id
};
context.resourceManager.getString(resource, (error, value) => {

View File

@ -526,7 +526,7 @@ export struct DeleteNoteComp {
let context: any = getContext(this)
let resource = {
bundleName: "com.ohos.note",
moduleName: "tablet",
moduleName: "default",
id: $r('app.string.restore').id
};
context.resourceManager.getString(resource, (error, value) => {

View File

@ -615,7 +615,7 @@ export struct OperateNoteComp {
let context: any = getContext(this)
let resource = {
bundleName: "com.ohos.note",
moduleName: "tablet",
moduleName: "default",
id: $r('app.string.restore').id
};
context.resourceManager.getString(resource, (error, value) => {
@ -952,7 +952,7 @@ export struct OperateNoteCompForPortrait {
let context: any = getContext(this)
let resource = {
bundleName: "com.ohos.note",
moduleName: "tablet",
moduleName: "default",
id: $r('app.string.restore').id
};
context.resourceManager.getString(resource, (error, value) => {