var oNode = null, thePlugins = 'component'; dialog.oncancel = function () { if (UE.plugins[thePlugins].editdom) { delete UE.plugins[thePlugins].editdom; } }; dialog.onok = function () { var _html = Save(); if (_html == "") return; editor.execCommand('insertHtml', _html); } function GetHtmlByMapAttrAndFrmComponent(mapData, frmComponent) { var _html = ""; switch (frmComponent) { case 4: //地图控件 _html = "