From 3c50bfdd8d605b3dd449adcb54cdf7f7c25d6c16 Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期五, 04 十一月 2022 15:46:05 +0800
Subject: [PATCH] 2022-11-04

---
 src/tabviews/custom/popview/index.jsx |   19 +++++++++----------
 1 files changed, 9 insertions(+), 10 deletions(-)

diff --git a/src/tabviews/custom/popview/index.jsx b/src/tabviews/custom/popview/index.jsx
index 79bbc12..fbc55ce 100644
--- a/src/tabviews/custom/popview/index.jsx
+++ b/src/tabviews/custom/popview/index.jsx
@@ -647,22 +647,21 @@
         component = {...component, ...inherit}
         return component
       } else if (component.wrap && component.wrap.datatype === 'public') {
+        component.setting.useMSearch = false
+
         return component
-      }
-
-      if (component.setting) {
-        component.setting.useMSearch = component.setting.useMSearch === 'true'
-        component.setting.syncRefresh = (component.setting.useMSearch && component.setting.syncRefresh === 'true')
-      }
-
-      if (component.wrap && component.wrap.datatype === 'static') {
+      } else if (component.wrap && component.wrap.datatype === 'static') {
         component.format = ''
         component.setting = component.setting || {}
         component.setting.useMSearch = false
-        component.setting.syncRefresh = false
+
+        return component
+      } else if (!component.setting || !component.format) {
+        return component
       }
 
-      if (!component.setting || !component.format) return component  // 1銆佷笉浣跨敤绯荤粺鍑芥暟鏃讹紱2銆� 娌℃湁鍔ㄦ�佹暟鎹�  鏁版嵁鏍煎紡 array 鎴� object
+      component.setting.useMSearch = component.setting.useMSearch === 'true'
+
       if (component.setting.interType !== 'system') { // 涓嶄娇鐢ㄧ郴缁熷嚱鏁版椂
         component.setting.sync = 'false'
         component.setting.laypage = component.setting.laypage === 'true'

--
Gitblit v1.8.0