From 85342cee7d9e8d87c217f6dd96b220e81dba5627 Mon Sep 17 00:00:00 2001 From: zhal <15900249928@163.com> Date: Thu, 4 Aug 2022 11:04:53 +0800 Subject: [PATCH] =?UTF-8?q?=E6=95=B0=E6=8D=AE=E5=B1=9E=E6=80=A7=E6=98=BE?= =?UTF-8?q?=E7=A4=BAundefined?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../designer/extend/js/designer.extend.link.js | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js index a546b27d..7c754bd9 100755 --- a/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js +++ b/com.actionsoft.apps.coe.pal/web/com.actionsoft.apps.coe.pal/lib/designer/extend/js/designer.extend.link.js @@ -1441,6 +1441,7 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) { requiredSpan = '*' } + var isdesc=obj.desc==undefined?"":obj.desc; var constr = '' + ' ' + objName + requiredSpan + '' + ' ' @@ -1451,13 +1452,13 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) { constr = '' + ' ' + objName + requiredSpan + '' + ' ' - + ' ' + + ' ' + ' '; } else if (!objReadonly && objType == "number") { constr = '' + ' ' + objName + requiredSpan + '' + ' ' - + ' ' + + ' ' //+ '
' + ''; } else if (!objReadonly && objType == "boolean") { @@ -1481,7 +1482,7 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) { constr = '' + '' + objName + requiredSpan + '' + '' - + '' //+ '
' + '' @@ -1490,11 +1491,12 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) { flag = true; // 形状的关联 objIds.push(obj.id); + constr = '' + ' ' + objName + requiredSpan + '' + ' ' - + ' ' - + ' ' + + ' ' + + ' ' + ''; } else if (objType == "select" || objType == "select_m") { @@ -1520,14 +1522,14 @@ function getPrivateAttributeHtml(attributesJsonArray, tbodyId, shape) { constr = '' + ' ' + objName + requiredSpan + '' + ' ' - + ' ' - + ' ' + + ' ' + + ' ' + ''; } else if (objReadonly && objType == "hidden") { constr = '' + ' ' + objName + requiredSpan + '' + ' ' - + ' ' + + ' ' //+ '
' + ''; } else if (!objReadonly && objType == "DateTimePicker") {