From 6c68ddaac837ebed30d291f0f8b864b830afaa8a Mon Sep 17 00:00:00 2001
From: king <18310653075@163.com>
Date: 星期四, 21 七月 2022 01:01:22 +0800
Subject: [PATCH] 2022-07-21

---
 src/templates/zshare/formconfig.jsx |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/templates/zshare/formconfig.jsx b/src/templates/zshare/formconfig.jsx
index c8f3df7..3ad7d6b 100644
--- a/src/templates/zshare/formconfig.jsx
+++ b/src/templates/zshare/formconfig.jsx
@@ -289,7 +289,7 @@
  * @param {object} card           // 鎼滅储鏉′欢瀵硅薄
  * @param {Array}  linkableFields // 鍙叧鑱斿瓧娈�
  */
-export function getSearchForm (card, linkableFields, columns) {
+export function getSearchForm (card, linkableFields, columns, position) {
   let roleList = sessionStorage.getItem('sysRoles')
   let appType = sessionStorage.getItem('appType')
   if (roleList) {
@@ -794,7 +794,7 @@
       label: '楂樼骇鎼滅储',
       initVal: card.advanced || 'false',
       tooltip: '鍦ㄩ珮绾ф悳绱互妯℃�佹鎴栨娊灞夊睍寮�鏃讹紝鎼滅储鏉′欢鍦ㄥ紑鍙戠晫闈㈠崰姣斾负6锛屽疄闄呮晥鏋滆鍦ㄨ繍琛屾椂鏌ョ湅銆�',
-      forbid: appType === 'mob',
+      forbid: appType === 'mob' || position === 'header',
       options: [{
         value: 'true',
         text: Formdict['model.true']

--
Gitblit v1.8.0