From 7f0cd19fda016436d61a2819878757a98627b755 Mon Sep 17 00:00:00 2001 From: liujuan Date: Wed, 4 Sep 2024 10:41:50 +0000 Subject: [PATCH 1/4] update common/src/main/resources/zh_CN/profile/form_config.json. Signed-off-by: liujuan --- common/src/main/resources/zh_CN/profile/form_config.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/common/src/main/resources/zh_CN/profile/form_config.json b/common/src/main/resources/zh_CN/profile/form_config.json index 7ff8de95..4fbd5087 100644 --- a/common/src/main/resources/zh_CN/profile/form_config.json +++ b/common/src/main/resources/zh_CN/profile/form_config.json @@ -2,6 +2,7 @@ "forms": [ { "name": "widget", + "displayName": "$string:form_FormAbility_label", "description": "$string:form_FormAbility_label", "src": "./js/widget/pages/index/index", "window": { @@ -22,6 +23,7 @@ }, { "name": "widget1", + "displayName": "$string:form_FormAbility_label", "description": "$string:form_FormAbility_label", "src": "./js/widget1/pages/index/index", "window": { @@ -42,6 +44,7 @@ }, { "name": "widget2", + "displayName": "$string:form_FormAbility_label", "description": "$string:form_FormAbility_label", "src": "./js/widget2/pages/index/index", "window": { From d0c7bd626b7ab08a97bb8d9ce6be90d51edb9e68 Mon Sep 17 00:00:00 2001 From: liujuan Date: Wed, 4 Sep 2024 10:42:47 +0000 Subject: [PATCH 2/4] update product/phone/src/main/resources/base/profile/form_config.json. Signed-off-by: liujuan --- product/phone/src/main/resources/base/profile/form_config.json | 3 +++ 1 file changed, 3 insertions(+) diff --git a/product/phone/src/main/resources/base/profile/form_config.json b/product/phone/src/main/resources/base/profile/form_config.json index 7ff8de95..4fbd5087 100644 --- a/product/phone/src/main/resources/base/profile/form_config.json +++ b/product/phone/src/main/resources/base/profile/form_config.json @@ -2,6 +2,7 @@ "forms": [ { "name": "widget", + "displayName": "$string:form_FormAbility_label", "description": "$string:form_FormAbility_label", "src": "./js/widget/pages/index/index", "window": { @@ -22,6 +23,7 @@ }, { "name": "widget1", + "displayName": "$string:form_FormAbility_label", "description": "$string:form_FormAbility_label", "src": "./js/widget1/pages/index/index", "window": { @@ -42,6 +44,7 @@ }, { "name": "widget2", + "displayName": "$string:form_FormAbility_label", "description": "$string:form_FormAbility_label", "src": "./js/widget2/pages/index/index", "window": { From 2ddbee0dfc88c1fcaa3df90e49f1e66310b7f52c Mon Sep 17 00:00:00 2001 From: liujuan Date: Wed, 4 Sep 2024 10:44:21 +0000 Subject: [PATCH 3/4] update common/src/main/ets/default/access/UserFileManagerAccess.ts. Signed-off-by: liujuan --- common/src/main/ets/default/access/UserFileManagerAccess.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/common/src/main/ets/default/access/UserFileManagerAccess.ts b/common/src/main/ets/default/access/UserFileManagerAccess.ts index 968451a9..a565ec91 100644 --- a/common/src/main/ets/default/access/UserFileManagerAccess.ts +++ b/common/src/main/ets/default/access/UserFileManagerAccess.ts @@ -627,6 +627,8 @@ export class UserFileManagerAccess { } async prepareSystemAlbums(): Promise { + Log.info(TAG, `prepareSystemAlbums before :${UserFileManagerAccess.SYSTEM_BEFORE_USER_ALBUM_LIST.length}, \ + after :${UserFileManagerAccess.SYSTEM_AFTER_USER_ALBUM_LIST.length}`); if (!this.media) { Log.error(TAG, 'prepareSystemAlbums media resource is null!'); return; From dd891cef73820be95ffb63c8be8e7e0307d7a5da Mon Sep 17 00:00:00 2001 From: liujuan Date: Wed, 4 Sep 2024 10:45:16 +0000 Subject: [PATCH 4/4] update common/src/main/ets/default/view/PhotoItem.ets. Signed-off-by: liujuan --- common/src/main/ets/default/view/PhotoItem.ets | 1 + 1 file changed, 1 insertion(+) diff --git a/common/src/main/ets/default/view/PhotoItem.ets b/common/src/main/ets/default/view/PhotoItem.ets index b0fa9fe0..18a460ff 100644 --- a/common/src/main/ets/default/view/PhotoItem.ets +++ b/common/src/main/ets/default/view/PhotoItem.ets @@ -546,6 +546,7 @@ export struct PhotoItem { ) .clip(true) .onTouch((event?: TouchEvent) => { + Log.info(TAG, 'onTouch start'); this.dealTouchEvent(event as TouchEvent); this.eventPipeline?.onTouch(event as TouchEvent); })