From 7fccaa5e6aa4a90a5b8cc49a98ab352fd03d6eb9 Mon Sep 17 00:00:00 2001 From: tnt group Date: Thu, 18 May 2023 20:20:58 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E5=90=88=E5=B9=B6?= =?UTF-8?q?=E4=B8=A2=E6=8E=89=E7=9A=84=E8=99=9A=E6=8B=9F=E7=BB=84=E4=BB=B6?= =?UTF-8?q?=E9=85=8D=E7=BD=AE=EF=BC=8C=E5=AF=BC=E8=87=B4photos=20my=20?= =?UTF-8?q?=E4=B8=8B=E7=9A=84=E8=99=9A=E6=8B=9F=E7=BB=84=E4=BB=B6=E5=BC=82?= =?UTF-8?q?=E5=B8=B8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/packages/components/Photos/My/index.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/packages/components/Photos/My/index.ts b/src/packages/components/Photos/My/index.ts index df6db7e4..746f0aa4 100644 --- a/src/packages/components/Photos/My/index.ts +++ b/src/packages/components/Photos/My/index.ts @@ -53,7 +53,8 @@ const addConfig = { package: PackagesCategoryEnum.PHOTOS, title: e.fileName, image: e.url, - dataset: e.url + dataset: e.url, + virtualComponent: './components/Informations/Mores/Image' // 虚拟组件路径,尾部不跟 ‘/’,相对于 /packages/index.ts 文件的位置 } userPhotosList.push(newPhoto) setLocalStorage(StoreKey, userPhotosList)