From 9d065cb5e0df7f1f399e2c921c006ddbe53501de Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 11 Sep 2023 11:39:58 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96:=E9=81=BF=E5=85=8D=E6=97=A0?= =?UTF-8?q?=E6=B3=95=E5=8A=A0=E8=BD=BD=E6=97=B6=E6=8A=A5=E9=94=99,?= =?UTF-8?q?=E7=A7=81=E4=BC=81=E6=A8=A1=E5=9E=8B=E5=BA=93?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts b/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts index c45c2b8ad..c233bd2f3 100644 --- a/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts +++ b/src/UI/Components/ToolBar/ResourceLibrary/RsourceStore.ts @@ -810,6 +810,7 @@ export default class ResourceStore GetPrivateModuleList(this.privateModule.params) .then((res) => { + if (!res) return; this.privateModule.data = res.modules || []; const total = Math.ceil(res.count / 20); this.privateModule.total = total > 0 ? total : 1;