Commit d2cb7da4 by zhaochengxiang

bug fix

parent 2a678b49
......@@ -9,7 +9,7 @@ import PreviewTree from './PreviewTree';
import { dispatch, dispatchLatest } from '../../../../model';
import { AssetManageReference, AssetBrowseReference, ResourceBrowseReference, ResourceManageReference } from '../../../../util/constant';
import { getAssetType, showMessage } from '../../../../util';
import { getAssetType, getAssetTypeName, showMessage } from '../../../../util';
const resourceTypes = [
{ key: 'innerSource', name: '内部资源' },
......@@ -268,10 +268,10 @@ const CustomDirectoryModal = (props) => {
>
<Row gutter={30}>
<Col span={8} style={{ borderRight: '1px solid #EFEFEF' }}>
<div className='mb-3'>资产要素</div>
<div className='mb-3'>{`${getAssetTypeName(reference)}要素`}</div>
<Input
value={keyword}
placeholder='请输入资产要素'
placeholder={`请输入${getAssetTypeName(reference)}要素`}
style={{ marginBottom:10 }}
onChange={(e) => { onSearchChange(e) }}
/>
......
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