From 5a28b02ca32e2da88aefc9261a47061a3b2a7694 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 18 三月 2025 14:10:45 +0800 Subject: [PATCH] Merge branch 'develop' --- src/menu/datasource/index.jsx | 9 ++++++++- 1 files changed, 8 insertions(+), 1 deletions(-) diff --git a/src/menu/datasource/index.jsx b/src/menu/datasource/index.jsx index c86661c..661db31 100644 --- a/src/menu/datasource/index.jsx +++ b/src/menu/datasource/index.jsx @@ -139,7 +139,7 @@ const { config } = this.props this.setState({loading: true}) - this.verifyRef.submitDataSource().then(res => { + this.verifyRef.submitDataSource().then((res, hasMSearch) => { let MenuType = sessionStorage.getItem('MenuType') @@ -339,6 +339,13 @@ MKEmitter.emit('mkUpdateInter', {uuid: config.uuid, columns: res.columns}, {delay: 0}) }, 150) } + + if (config.type === 'interface' && res.setting && res.setting.useMSearch === 'true' && !hasMSearch) { + Modal.warning({ + title: '鏁版嵁婧愪腑浣跨敤浜嗗閮ㄦ悳绱紝浣嗘悳绱㈡潯浠跺皻鏈坊鍔狅紒', + centered: true + }) + } }, () => { this.setState({loading: false}) }) -- Gitblit v1.8.0