From ed6f781fbe1dd5297a54d61ba50b5d609bb1b639 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 20 三月 2025 10:31:59 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 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