From 79e4981aa6cc9354276fc54cdf6d14eb08ab7fee Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 22 六月 2023 15:59:04 +0800 Subject: [PATCH] Merge branch 'develop' of ssh://121.36.20.145:29418/~jinfei/pc-plat into develop --- src/templates/zshare/modalform/fieldtable/index.jsx | 20 ++++++++++++++++++++ 1 files changed, 20 insertions(+), 0 deletions(-) diff --git a/src/templates/zshare/modalform/fieldtable/index.jsx b/src/templates/zshare/modalform/fieldtable/index.jsx index d9100da..3b607cf 100644 --- a/src/templates/zshare/modalform/fieldtable/index.jsx +++ b/src/templates/zshare/modalform/fieldtable/index.jsx @@ -127,6 +127,26 @@ this.setState({loading: false}) }) return + } else if (fields.filter(f => f.toLowerCase() === 'parentid').length > 0) { + notification.warning({ + top: 92, + message: '瀛楁鍚嶄笉鍙娇鐢╬arentid锛�', + duration: 5 + }) + this.setState({loading: true}, () => { + this.setState({loading: false}) + }) + return + } else if (fields.filter(f => f.toLowerCase() === 'pid').length > 0) { + notification.warning({ + top: 92, + message: '瀛楁鍚嶄笉鍙娇鐢╬id锛�', + duration: 5 + }) + this.setState({loading: true}, () => { + this.setState({loading: false}) + }) + return } this.setState({ data }, () => { -- Gitblit v1.8.0