From 1da6506bf58270bacc2a4345002c6b082835580e Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期四, 21 十月 2021 23:17:08 +0800 Subject: [PATCH] 2021-10-21 --- src/tabviews/zshare/topSearch/advanceform/index.jsx | 7 +------ 1 files changed, 1 insertions(+), 6 deletions(-) diff --git a/src/tabviews/zshare/topSearch/advanceform/index.jsx b/src/tabviews/zshare/topSearch/advanceform/index.jsx index 9a9f6d9..d5c4c88 100644 --- a/src/tabviews/zshare/topSearch/advanceform/index.jsx +++ b/src/tabviews/zshare/topSearch/advanceform/index.jsx @@ -6,7 +6,6 @@ import asyncComponent from '@/utils/asyncComponent' import './index.scss' -const { Search } = Input const MKCheckCard = asyncComponent(() => import('@/tabviews/zshare/mutilform/checkCard')) const MKSelect = asyncComponent(() => import('../mkSelect')) const MKDatePicker = asyncComponent(() => import('../mkDatePicker')) @@ -42,11 +41,7 @@ item.initval = record[item.field] || '' if (item.type === 'text') { - if (item.inputType === 'search') { - content = <Search allowClear placeholder={item.labelShow === 'false' ? item.label : ''} autoComplete="off" onSearch={this.handleSubmit} enterButton/> - } else { - content = <Input allowClear placeholder={item.labelShow === 'false' ? item.label : ''} autoComplete="off" onPressEnter={this.handleSubmit} /> - } + content = <Input allowClear placeholder={item.labelShow === 'false' ? item.label : ''} autoComplete="off" onPressEnter={this.handleSubmit} /> } else if (item.type === 'select' || item.type === 'link' || item.type === 'multiselect') { content = (<MKSelect config={item}/>) } else if (item.type === 'date' || item.type === 'datemonth' || item.type === 'dateweek' || item.type === 'daterange') { -- Gitblit v1.8.0