From 7da23c8a73681703f42c4c5a4c907dc17acf8b8f Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 26 三月 2024 21:22:17 +0800 Subject: [PATCH] 2024-03-26 --- src/tabviews/custom/components/chart/antv-X6/index.jsx | 16 ++++++++-------- 1 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/tabviews/custom/components/chart/antv-X6/index.jsx b/src/tabviews/custom/components/chart/antv-X6/index.jsx index faedfd9..bbbc859 100644 --- a/src/tabviews/custom/components/chart/antv-X6/index.jsx +++ b/src/tabviews/custom/components/chart/antv-X6/index.jsx @@ -1596,7 +1596,7 @@ } }) - if (start_num !== 1 || end_num !== 1 || unvalid) { + if (start_num !== 1 || end_num === 0 || unvalid) { _status = 0 } } @@ -2080,12 +2080,12 @@ message: '璇锋坊鍔犵粨鏉熻妭鐐癸紒', duration: 2 }) - } else if (end_num > 1) { - notification.warning({ - top: 92, - message: '缁撴潫鑺傜偣涓嶅彲娣诲姞澶氫釜锛�', - duration: 2 - }) + // } else if (end_num > 1) { + // notification.warning({ + // top: 92, + // message: '缁撴潫鑺傜偣涓嶅彲娣诲姞澶氫釜锛�', + // duration: 2 + // }) } else if (emptyNode) { let errmsg = '閮ㄥ垎鑺傜偣鏈缃熀鏈俊鎭��' if (emptyNode.attrs && emptyNode.attrs.text && emptyNode.attrs.text.text) { @@ -2271,7 +2271,7 @@ <div className="flow-name">{flowname}</div> <div className="right-tool"> <Tooltip title="鍚敤/鍋滅敤"> - <Switch size="small" style={{marginRight: '10px'}} checked={status === 10} onChange={this.changeStatus} /> + <Switch size="large" style={{marginRight: '10px'}} checked={status === 10} onChange={this.changeStatus} /> </Tooltip> <Tooltip title="淇濆瓨"> <SaveOutlined style={{marginRight: '10px'}} onClick={this.save}/> -- Gitblit v1.8.0