king
2025-05-14 040ab1cc344a81f6b055210d7fbc78fb2fce505b
2025-05-14
2个文件已修改
12 ■■■■■ 已修改文件
src/tabviews/custom/components/chart/antv-X6/index.jsx 9 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/chart/antv-X6/index.scss 3 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/tabviews/custom/components/chart/antv-X6/index.jsx
@@ -1563,12 +1563,16 @@
  setback = () => {
    if (this.mkGraph.canUndo()) {
      this.mkGraph.undo()
    } else {
      message.warning('无可撤销记录!')
    }
  }
  setprev = () => {
    if (this.mkGraph.canRedo()) {
      this.mkGraph.redo()
    } else {
      message.warning('无可前进记录!')
    }
  }
@@ -1746,7 +1750,10 @@
    let cells = this.mkGraph.getCells()
    const that = this
    if (cells.length === 0) return
    if (cells.length === 0) {
      message.warning('尚未添加元素!')
      return
    }
    confirm({
      title: '确定清空元素吗?',
src/tabviews/custom/components/chart/antv-X6/index.scss
@@ -94,6 +94,9 @@
      border-right: 1px solid #dfe3e8;
      transition: all 0.2s;
      .x6-port {
        display: none;
      }
      .x6-widget-stencil-title {
        display: none;
      }