From d35594fbb6a27b67d21d7c091116455c779e313d 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}