From d190fc73607f01268453a7cb9703ba14e88b3e0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=A8=E8=B5=9F?= Date: Wed, 22 Dec 2021 02:25:31 +0000 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=20'init.go'?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 默认要求必须有配置文件 --- init.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.go b/init.go index 52153f3..adf99b6 100644 --- a/init.go +++ b/init.go @@ -17,7 +17,7 @@ func initApp() (closes []func()) { // 初始化配置文件 config.InitConfig(&config.IniConfig{ ConfigPath: "config", - RunModelErrAllow: true, + RunModelErrAllow: false, }) // 系统分页