From f248207e3cb568b3d1f1e5be07a92dc915e89731 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 02 八月 2022 11:28:51 +0800 Subject: [PATCH] 2022-08-02 --- src/templates/zshare/modalform/fieldtable/index.jsx | 11 ++++++++++- 1 files changed, 10 insertions(+), 1 deletions(-) diff --git a/src/templates/zshare/modalform/fieldtable/index.jsx b/src/templates/zshare/modalform/fieldtable/index.jsx index b340337..d9100da 100644 --- a/src/templates/zshare/modalform/fieldtable/index.jsx +++ b/src/templates/zshare/modalform/fieldtable/index.jsx @@ -11,7 +11,6 @@ class EdiFieldsTable extends Component { static propTpyes = { - dict: PropTypes.object, // 瀛楀吀椤� onChange: PropTypes.func // 鏁版嵁鍙樺寲 } @@ -118,6 +117,16 @@ this.setState({loading: false}) }) return + } else if (fields.filter(f => f.toLowerCase() === 'value').length > 0) { + notification.warning({ + top: 92, + message: '瀛楁鍚嶄笉鍙娇鐢╲alue锛�', + duration: 5 + }) + this.setState({loading: true}, () => { + this.setState({loading: false}) + }) + return } this.setState({ data }, () => { -- Gitblit v1.8.0