From 49f5981f04f1dde8d3de53499d7ed623976b15c9 Mon Sep 17 00:00:00 2001 From: unknown Date: Mon, 16 May 2022 13:36:52 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E6=9F=A5=E8=AF=A2=E8=A7=86?= =?UTF-8?q?=E5=9B=BE=E9=A2=84=E8=A7=88=E7=9A=84=E6=97=B6=E5=80=99=E4=B8=8D?= =?UTF-8?q?=E6=98=BE=E7=A4=BA0=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../source/x_component_query_StatementDesigner/Statement.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/o2web/source/x_component_query_StatementDesigner/Statement.js b/o2web/source/x_component_query_StatementDesigner/Statement.js index 2655dc7b70..54b8a059d4 100644 --- a/o2web/source/x_component_query_StatementDesigner/Statement.js +++ b/o2web/source/x_component_query_StatementDesigner/Statement.js @@ -1358,9 +1358,12 @@ MWF.xApplication.query.StatementDesigner.View = new Class({ if( (/(^[1-9]\d*$)/.test(p)) )p = p.toInt(); if( obj[ p ] ){ obj = obj[ p ]; - }else{ + }else if(obj[p] === undefined || obj[p] === null) { obj = ""; break; + } else { + obj = obj[p]; + break; } } } -- GitLab