From d3e3e32f62955e7ac7983bde70924daaacab5dc1 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期二, 08 九月 2020 13:33:37 +0800
Subject: [PATCH] 2020-09-08

---
 src/tabviews/calendar/index.jsx |   11 ++++++++---
 1 files changed, 8 insertions(+), 3 deletions(-)

diff --git a/src/tabviews/calendar/index.jsx b/src/tabviews/calendar/index.jsx
index 320c737..6d43995 100644
--- a/src/tabviews/calendar/index.jsx
+++ b/src/tabviews/calendar/index.jsx
@@ -162,6 +162,11 @@
 
       config.setting.customScript = _customScript
 
+      // 鏁版嵁婧�
+      if (config.setting.interType === 'inner' && !config.setting.innerFunc) {
+        config.setting.interType = 'system'
+      }
+
       this.setState({
         BID: param && param.BID ? param.BID : '',
         loadingview: false,
@@ -213,10 +218,10 @@
       loading: true
     })
 
-    if (setting.interType !== 'inner' || (setting.interType === 'inner' && setting.innerFunc)) {
-      param = this.getCustomParam()
-    } else {
+    if (setting.interType === 'system') {
       param = this.getDefaultParam()
+    } else {
+      param = this.getCustomParam()
     }
 
     if (BID) {

--
Gitblit v1.8.0