From b75c37e7fae72fbdf2ca01aa2aa36117c2113e99 Mon Sep 17 00:00:00 2001 From: LiuJiaNan <15703339975@163.com> Date: Wed, 1 Apr 2026 10:25:40 +0800 Subject: [PATCH] =?UTF-8?q?chore(config):=20=E9=85=8D=E7=BD=AE=20jsconfig.?= =?UTF-8?q?json=20=E4=B8=AD=E7=9A=84=20jsx=20=E7=BC=96=E8=AF=91=E9=80=89?= =?UTF-8?q?=E9=A1=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 为 jsconfig.json 添加 jsx: react 配置项 - 确保 jsx 文件能够被正确编译和识别 --- jsconfig.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/jsconfig.json b/jsconfig.json index 4cf89dc..ed50d55 100644 --- a/jsconfig.json +++ b/jsconfig.json @@ -3,7 +3,8 @@ "baseUrl": "src", "paths": { "~/*": ["*"] - } + }, + "jsx": "react" }, "include": ["src"] }