From 6b3eb00f5f9011ede169e9d624f3a14e8a4e4c20 Mon Sep 17 00:00:00 2001 From: huqi Date: Thu, 24 Feb 2022 17:15:44 +0800 Subject: [PATCH] =?UTF-8?q?ELButton=E5=9B=BE=E6=A0=87=E6=98=BE=E7=A4=BA?= =?UTF-8?q?=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- o2web/source/x_component_process_Xform/Elbutton.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/o2web/source/x_component_process_Xform/Elbutton.js b/o2web/source/x_component_process_Xform/Elbutton.js index d004a7bcfb..dd87a6c16b 100644 --- a/o2web/source/x_component_process_Xform/Elbutton.js +++ b/o2web/source/x_component_process_Xform/Elbutton.js @@ -40,6 +40,7 @@ MWF.xApplication.process.Xform.Elbutton = MWF.APPElbutton = new Class( if (!this.json.circle) this.json.circle = false; if (!this.json.disabled) this.json.disabled = false; if (!this.json.loading) this.json.loading = false; + if (!this.json.icon) this.json.icon = false; }, _createElementHtml: function(){ debugger; @@ -51,6 +52,7 @@ MWF.xApplication.process.Xform.Elbutton = MWF.APPElbutton = new Class( html += " :circle=\"circle\""; html += " :disabled=\"disabled\""; html += " :loading=\"loading\""; + html += " :icon=\"icon\""; if (this.json.autofocus==="yes") html += " autofocus"; -- GitLab