From 10b0cbc81a15fa1d40ad84b1296d23a426203616 Mon Sep 17 00:00:00 2001 From: ximu3 Date: Wed, 11 Sep 2024 12:47:26 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E4=BA=86=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E5=88=86=E7=B1=BB=E5=8F=AF=E8=A2=AB=E7=94=A8=E6=88=B7?= =?UTF-8?q?=E5=88=A0=E9=99=A4=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/renderer/src/components/Library.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/renderer/src/components/Library.jsx b/src/renderer/src/components/Library.jsx index 80a4a4a..e3d7061 100644 --- a/src/renderer/src/components/Library.jsx +++ b/src/renderer/src/components/Library.jsx @@ -98,7 +98,7 @@ function Library() { { label: '删除分类', onClick: () => { - if (categoryId === '0') { + if (categoryId === 0) { setAlert('无法删除默认分类!'); setTimeout(() => { setAlert('');