From f1a4a2e83a5a3a3f8636c0d85a3a02471c5b07e7 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 05 三月 2025 15:39:52 +0800
Subject: [PATCH] Merge branch 'positec' into dms

---
 src/tabviews/custom/index.jsx |   13 ++++++++++++-
 1 files changed, 12 insertions(+), 1 deletions(-)

diff --git a/src/tabviews/custom/index.jsx b/src/tabviews/custom/index.jsx
index 61a6a47..746f9c8 100644
--- a/src/tabviews/custom/index.jsx
+++ b/src/tabviews/custom/index.jsx
@@ -49,6 +49,7 @@
 const DebugTable = asyncComponent(() => import('@/tabviews/debugtable'))
 const FlowFloat = asyncComponent(() => import('@/tabviews/zshare/flowFloat'))
 const TableNodes = asyncComponent(() => import('@/tabviews/zshare/tablenodes'))
+const DeepSeek = asyncComponent(() => import('@/tabviews/zshare/deepseek'))
 const MkInterfaces = asyncComponent(() => import('@/tabviews/custom/components/interfaces'))
 
 class CustomPage extends Component {
@@ -224,6 +225,15 @@
         }
       }
 
+      if (config.urlFields && config.urlFields.length) {
+        config.urlFields.forEach(field => {
+          let key = field.toLowerCase()
+          if (urlparam[key] !== undefined) return
+
+          urlparam[key] = ''
+        })
+      }
+
       window.GLOB.CacheData.set(MenuID, urlparam)
 
       if (window.backend && config.allSqls) {
@@ -257,7 +267,7 @@
       }
       if (config.urlFields) {
         config.urlFields.forEach(field => {
-          let val = `'${urlparam[field.toLowerCase()] || ''}'`
+          let val = `'${urlparam[field.toLowerCase()]}'`
           regs.push({
             reg: new RegExp('@' + field + '@', 'ig'),
             value: val
@@ -1841,6 +1851,7 @@
           {config.process === 'true' ? <FlowFloat config={config}/> : null}
           <SettingComponent config={config} shortcuts={shortcuts || []}/>
           <TableNodes config={config} />
+          <DeepSeek/>
         </div>
       </div>
     )

--
Gitblit v1.8.0