From a0de373666903138aeadf8cfb8f6b494ae5ba5c6 Mon Sep 17 00:00:00 2001 From: yuanzbz <3517876561@qq.com> Date: Wed, 6 Dec 2023 22:07:22 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D:=20tsconfig.json?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/views/table/ComprehensiveTable/constants.tsx | 1 - tsconfig.json | 2 ++ 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/src/views/table/ComprehensiveTable/constants.tsx b/src/views/table/ComprehensiveTable/constants.tsx index 3841d38..18a5b1d 100644 --- a/src/views/table/ComprehensiveTable/constants.tsx +++ b/src/views/table/ComprehensiveTable/constants.tsx @@ -24,7 +24,6 @@ export const columns = [ { name: 'sex', label: '性别', - slot: true, search: true, span: 8, diff --git a/tsconfig.json b/tsconfig.json index 31ebbd2..067b822 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,7 +10,9 @@ "resolveJsonModule": true, "isolatedModules": true, "esModuleInterop": true, + "allowSyntheticDefaultImports": true, "lib": ["ESNext", "DOM"], + "noEmit": true, // 跳过库检查,解决打包失败 "skipLibCheck": true, // 解析非相对模块名的基准目录