From 4b467effbc0e3a9199146573c0ceedf404bd07c5 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 07 九月 2023 17:16:01 +0800 Subject: [PATCH] 2023-09-07 --- src/menu/tablenodes/index.jsx | 74 ++++++++++++++++++++++++++++++++++++ 1 files changed, 73 insertions(+), 1 deletions(-) diff --git a/src/menu/tablenodes/index.jsx b/src/menu/tablenodes/index.jsx index fcbfdd9..7fe455e 100644 --- a/src/menu/tablenodes/index.jsx +++ b/src/menu/tablenodes/index.jsx @@ -153,6 +153,42 @@ direction: 'left' }) } + if (cell.exInterface) { + let url = '' + + try { + url = JSON.parse(cell.exInterface).url + } catch(e) { + url = '' + } + + if (url) { + tbs.push({ + label: url + ' (' + cell.label + ')', + color: 'orange', + id: Utils.getuuid(), + direction: 'left' + }) + } + } + if (cell.exProInterface) { + let url = '' + + try { + url = JSON.parse(cell.exProInterface).url + } catch(e) { + url = '' + } + + if (url) { + tbs.push({ + label: url + ' (' + cell.label + ')', + color: 'orange', + id: Utils.getuuid(), + direction: 'left' + }) + } + } if (cell.callbackFunc) { tbs.push({ label: cell.callbackFunc + ' (' + cell.label + ')', @@ -197,6 +233,42 @@ id: Utils.getuuid(), direction: 'left' }) + } + if (item.setting.exInterface) { + let url = '' + + try { + url = JSON.parse(item.setting.exInterface).url + } catch(e) { + url = '' + } + + if (url) { + tbs.push({ + label: url + ' (鏁版嵁婧�)', + color: 'orange', + id: Utils.getuuid(), + direction: 'left' + }) + } + } + if (item.setting.exProInterface) { + let url = '' + + try { + url = JSON.parse(item.setting.exProInterface).url + } catch(e) { + url = '' + } + + if (url) { + tbs.push({ + label: url + ' (鏁版嵁婧�)', + color: 'orange', + id: Utils.getuuid(), + direction: 'left' + }) + } } } } @@ -749,7 +821,7 @@ </div> <div className="footer"> <Button key="cancel" onClick={() => { this.setState({ visible: false })}}>鍏抽棴</Button> - <span className="tip">娉細鐐瑰嚮琛ㄥ悕鍙睍寮�/鏀惰捣鑿滃崟</span> + <span className="tip">娉細鐐瑰嚮琛ㄥ悕锛堝彸渚э級鍙睍寮�/鏀惰捣鑿滃崟锛屽乏渚ф鑹叉爣娉ㄤ负鎺ュ彛鎴栧嚱鏁板悕銆�</span> </div> </Modal> </div> -- Gitblit v1.8.0