From 55d195d9e8b8ab17dcd626bca57e80a0c908cf63 Mon Sep 17 00:00:00 2001 From: magicsea <313451394@qq.com> Date: Thu, 27 Jun 2024 20:00:42 +0800 Subject: [PATCH] =?UTF-8?q?GetPropertyAsString=E6=94=AF=E6=8C=81=E9=9D=9E?= =?UTF-8?q?=E6=95=B0=E5=80=BC=E7=B1=BB=E5=9E=8B?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config/BevTreeConfig.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/config/BevTreeConfig.go b/config/BevTreeConfig.go index d8b5a9c..26ca3db 100644 --- a/config/BevTreeConfig.go +++ b/config/BevTreeConfig.go @@ -72,9 +72,7 @@ func (this *BTNodeCfg) GetPropertyAsString(name string) string { str, fok := v.(string) if !fok { - fmt.Println("GetProperty err ,format not string:", name, v) - panic("GetProperty err ,format not string:" + name) - return "" + return fmt.Sprintf("%v",v) } return str }