From 31ec63f0419895876cbaba99637a884a32d33d0d Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 01 九月 2021 10:31:45 +0800 Subject: [PATCH] 2021-09-01 --- src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx b/src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx index c152207..0a4383f 100644 --- a/src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx +++ b/src/templates/sharecomponent/searchcomponent/dragsearch/index.jsx @@ -52,7 +52,7 @@ try { _val.uuid = Utils.getuuid() _val = window.btoa(window.encodeURIComponent(JSON.stringify(_val))) - } catch { + } catch (e) { console.warn('Stringify Failure') _val = '' } @@ -94,7 +94,7 @@ newcard.display = 'dropdown' let _match = 'like' - if (item.subType === 'select' || item.subType === 'link') { + if (item.subType === 'select' || item.subType === 'link' || item.subType === 'checkcard') { _match = '=' } else if (item.subType === 'date' || item.subType === 'datemonth') { _match = '>=' @@ -140,7 +140,7 @@ </Col> ))} {cards.length > 0 ? <Col key="action" className="action" span={6}> - <div className="ant-row ant-form-item" style={{lineHeight: '40px', height: '55px', marginBottom: 0}}> + <div className="ant-row ant-form-item" style={{whiteSpace: 'nowrap', lineHeight: '40px', height: '55px', marginBottom: 0}}> <div className="ant-col ant-form-item-label ant-col-xs-24 ant-col-sm-8"> </div> <div className="ant-col ant-form-item-control-wrapper ant-col-xs-24 ant-col-sm-16"> -- Gitblit v1.8.0