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; 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); }) 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": { 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": {