Commit c5946b2e by liuyong
2 parents ad8744b6 e4577964
...@@ -276,7 +276,7 @@ Format.prototype.immediateRefresh = function() ...@@ -276,7 +276,7 @@ Format.prototype.immediateRefresh = function()
if (graph.isSelectionEmpty()) if (graph.isSelectionEmpty())
{ {
mxUtils.write(label, mxResources.get('diagram'));//二次开发,drawio自带的默认绘图面板 mxUtils.write(label, mxResources.get('diagram'));//二次开发,drawio自带的默认绘图面板
label.style.borderLeftWidth = '0px'; label.style.borderLeftWidth = '0px';
...@@ -1565,7 +1565,7 @@ AttributePanel.prototype.init = function()//二次开发,属性面板内容 ...@@ -1565,7 +1565,7 @@ AttributePanel.prototype.init = function()//二次开发,属性面板内容
div.style.cssText = 'padding: 8px;display: flex;align-items: center;'; div.style.cssText = 'padding: 8px;display: flex;align-items: center;';
const labelDiv = document.createElement('div'); const labelDiv = document.createElement('div');
labelDiv.innerHTML = '节点名称: '; labelDiv.innerHTML = '元素名称: ';
div.appendChild(labelDiv); div.appendChild(labelDiv);
const nameDiv = document.createElement("div"); const nameDiv = document.createElement("div");
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!