From 03a22ec6f9ad7303d10b4c65bb5bc6fa5cbd448a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期六, 22 十月 2022 23:21:42 +0800 Subject: [PATCH] 2022-10-22 --- src/templates/sharecomponent/fieldscomponent/index.jsx | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diff --git a/src/templates/sharecomponent/fieldscomponent/index.jsx b/src/templates/sharecomponent/fieldscomponent/index.jsx index 53642ec..41a9a0a 100644 --- a/src/templates/sharecomponent/fieldscomponent/index.jsx +++ b/src/templates/sharecomponent/fieldscomponent/index.jsx @@ -108,9 +108,6 @@ let initval = '' if (item.type === 'select') { _match = '=' - } else if (item.type === 'daterange') { - initval = '[30, 0]' - _match = 'between' } else { item.type = 'text' _match = 'like' @@ -140,7 +137,7 @@ label: item.label, field: item.field, Hide: 'false', - IsSort: item.type === 'picture' ? 'false' : 'true', + IsSort: 'true', type: item.type, Width: item.type === 'number' ? 80 : 120 } -- Gitblit v1.8.0