Commit d2cb7da4 by zhaochengxiang

bug fix

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