Commit f1c5b3ac409a5f80e1ee79115574b9e36e12cfb6

Authored by ww
1 parent 72a2c545

fix: 修复参数设置组件可以变更样式

... ... @@ -30,7 +30,7 @@
30 30 return this.createVertexTemplateFromCells([cell], cell.geometry.width, cell.geometry.height, '开关');
31 31 })),
32 32 this.addEntry(this.getTagsForStencil(gn, 'Params Setting', dt).join(' '), mxUtils.bind(this, function () {
33   - const cell = new mxCell('<button class="param-setting-button">参数设置</button>', new mxGeometry(0, 0, 100, 60), 'text;html=1;strokeColor=none;fillColor=none;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;');
  33 + const cell = new mxCell('参数设置', new mxGeometry(0, 0, 60, 32), 'text;html=1;strokeColor=#1890ff;fillColor=#1890ff;align=center;verticalAlign=middle;whiteSpace=wrap;overflow=hidden;fontColor=#FFFFFF;rounded=1;shadow=0;');
34 34 // 自定义属性
35 35 const cellAttribute = {
36 36 [COMPONENT_TYPE]: PARAMS_SETTING_BUTTON
... ...