Commit 102b70bb by zhaochengxiang

资产搜索框调整

parent 028dbe6b
......@@ -344,6 +344,20 @@ svg {
}
}
.yy-input-search {
.anticon-search {
svg {
fill: #fff !important;
}
&:hover {
svg {
fill: #fff !important;
}
}
}
}
.primary-bg-container {
background-color: #196AD2;
}
......
......@@ -14,13 +14,11 @@ import { dispatch, dispatchLatestHomepage } from '../../../../model';
import { showMessage, showNotifaction, getQueryParam, inputWidth, isSzseEnv } from '../../../../util';
import { AnchorId, AnchorTimestamp, AssetBrowseReference, AssetManageReference, AssetRecycleReference, ResourceBrowseReference } from '../../../../util/constant';
import { FullScreenSvg, CancelFullScreenSvg } from './AssetSvg';
import DebounceInput from '../../Model/Component/DebounceInput';
import "./AssetTable.less";
const { Text } = Typography;
const InputDebounce = DebounceInput(300)(Input);
const { Search } = Input;
//资产项
const AssetItem = (props) => {
......@@ -145,7 +143,6 @@ const AssetTable = (props) => {
useEffect(() => {
if ((nodeId||'') !== '' ) {
setKeyword('');
setSelectItem({});
setCheckedKeys([]);
......@@ -616,11 +613,11 @@ const AssetTable = (props) => {
{
(reference!==AssetRecycleReference) && <Checkbox onChange={onFullSearchChange} checked={fullSearch}>全部数据</Checkbox>
}
<InputDebounce
<Search
placeholder="请输入资产要素值"
allowClear
value={keyword}
onChange={onSearchInputChange}
onSearch={onSearchInputChange}
enterButton
style={{ width: inputWidth }}
/>
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment