From 763bb773de98d339e3be8c56c88414f494bd1f12 Mon Sep 17 00:00:00 2001 From: ChenX Date: Tue, 5 Mar 2024 16:29:39 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=80=E5=8F=91:=E4=BF=AE=E5=A4=8D=E7=B1=BB?= =?UTF-8?q?=E5=9E=8B=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts b/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts index dee323655..3dfad0c57 100644 --- a/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts +++ b/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts @@ -370,7 +370,7 @@ export default class ResourceStore }, module_detail.type === ResType.Mtl ? CommandNames.ApplyMtl : "绘制模型"); }; - PraseMaterial = async (mtlPath: string) => + PraseMaterial = async (mtlPath: string): Promise => { let name = ParseUrlName(mtlPath); let mtl = app.Database.MaterialTable.GetAt(name); @@ -385,7 +385,7 @@ export default class ResourceStore timeout: 2000, intent: Intent.DANGER, }); - return ""; + return; } let dataString = await res.text();