@hzab/flowlong-designer 1.0.1 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ # @hzab/flowlong-designer@1.0.2
2
+
3
+ fix:修复条件节点删除
4
+
1
5
  # @hzab/flowlong-designer@1.0.1
2
6
 
3
7
  fix:详情优化(节点可点击打开详情)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hzab/flowlong-designer",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
4
4
  "description": "自定义审批流配置组件",
5
5
  "main": "src",
6
6
  "scripts": {
@@ -312,16 +312,15 @@ export const Branch = (props) => {
312
312
  <div className="title">
313
313
  <span className="node-title">{item.nodeName}</span>
314
314
  <span className="priority-title">优先级{item.priorityLevel}</span>
315
- {!conditionDisable ||
316
- (!disable && (
317
- <DeleteOutlined
318
- className="delete-btn"
319
- onClick={(e) => {
320
- e.stopPropagation();
321
- onTermDel(idx);
322
- }}
323
- />
324
- ))}
315
+ {!conditionDisable && !disable && (
316
+ <DeleteOutlined
317
+ className="delete-btn"
318
+ onClick={(e) => {
319
+ e.stopPropagation();
320
+ onTermDel(idx);
321
+ }}
322
+ />
323
+ )}
325
324
  </div>
326
325
  <div className="content">
327
326
  {toText(nodeConfig, idx) ? (