mirror of
https://gitee.com/openharmony/applications_photos
synced 2024-11-23 07:00:09 +00:00
update product/phone/src/main/ets/view/PhotoBrowserComponent.ets.
Signed-off-by: liujuan <liujuan76@h-partners.com>
This commit is contained in:
parent
5eda4199b1
commit
44778ba56b
@ -790,8 +790,8 @@ export struct PhotoBrowserComponent {
|
||||
(AppStorage.get<MediaDataSource>(Constants.APP_KEY_PHOTO_BROWSER) as MediaDataSource);
|
||||
} else if (this.pageFrom == Constants.ENTRY_FROM.DISTRIBUTED) {
|
||||
this.dataSource.setDeviceId(param.albumInfo.deviceId);
|
||||
this.dataSource.setAlbumDataSource
|
||||
(AppStorage.get<MediaDataSource>(Constants.APP_KEY_PHOTO_BROWSER) as MediaDataSource);
|
||||
this.dataSource.setAlbumDataSource(
|
||||
AppStorage.get<MediaDataSource>(Constants.APP_KEY_PHOTO_BROWSER) as MediaDataSource);
|
||||
} else if (this.pageFrom == Constants.ENTRY_FROM.VIEW_DATA) {
|
||||
if (String(param.viewData).length === 0) {
|
||||
Log.error(TAG, 'Invalid uri');
|
||||
|
Loading…
Reference in New Issue
Block a user