From 547e5fe219ee7bee309ecd67db74bc8df66b5433 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期三, 23 八月 2023 11:47:45 +0800
Subject: [PATCH] 2023-08-23

---
 src/tabviews/custom/components/calendar/index.jsx |    5 ++---
 1 files changed, 2 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/custom/components/calendar/index.jsx b/src/tabviews/custom/components/calendar/index.jsx
index 7b1f9d6..051b672 100644
--- a/src/tabviews/custom/components/calendar/index.jsx
+++ b/src/tabviews/custom/components/calendar/index.jsx
@@ -67,7 +67,6 @@
       BID: BData ? (BData.$BID || '') : '',
       BData: BData,
       config: _config,
-      arr_field: _config.columns.map(col => col.field).join(','),
       search: _config.$searches
     })
   }
@@ -208,7 +207,7 @@
   }
 
   async loadData (type) {
-    const { config, arr_field, BID, search, year } = this.state
+    const { config, BID, search, year } = this.state
     
     if (config.setting.supModule && !BID) { // BID 涓嶅瓨鍦ㄦ椂锛屼笉鍋氭煡璇�
       this.setState({
@@ -238,7 +237,7 @@
     })
 
     let _orderBy = config.setting.order || ''
-    let param = UtilsDM.getQueryDataParams(config.setting, arr_field, searches, _orderBy, 1, 99999, BID, '', year)
+    let param = UtilsDM.getQueryDataParams(config.setting, searches, _orderBy, 1, 99999, BID, '', year)
 
     let result = await Api.genericInterface(param)
     if (result.status) {

--
Gitblit v1.8.0