From f21e8050b2516c86c6ac3a7ff2b0cb37723892ec Mon Sep 17 00:00:00 2001 From: callmeyan Date: Tue, 24 Dec 2024 00:14:07 +0800 Subject: [PATCH] fixed: ts build error --- src/components/article/edit-modal.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/components/article/edit-modal.tsx b/src/components/article/edit-modal.tsx index b08d151..3204629 100644 --- a/src/components/article/edit-modal.tsx +++ b/src/components/article/edit-modal.tsx @@ -158,7 +158,7 @@ export default function ArticleEditModal(props: Props) {
- {props.type == 'news' && props.id > 0 ? : null} + {props.type == 'news' && props.id ? : null}