Commit d2a88fdc authored by Bill's avatar Bill

Merge branch 'chore-v2-220418' into 'v2-220418'

chore: 恢复按钮位置 See merge request linkseeks-design/pro-platform!491
parents f053d2e0 46587bfc
......@@ -102,6 +102,15 @@ const MaterialQuery = () => {
</AuthButton>
) : null
),
(
<AuthButton key="priceLibrary" btnCode='material.toPriceLibrary'>
<Menu.Item key="priceLibrary">
<Link to={`/memberCenter/commodityAbility/priceManage/priceLibrary?code=${record.code}`}>
{intl.formatMessage({ id: 'material.priceLibrary', defaultMessage: '价格库' })}
</Link>
</Menu.Item>
</AuthButton>
),
].filter(Boolean);
const menu = (
<Menu>
......@@ -113,11 +122,6 @@ const MaterialQuery = () => {
<AuthButton btnCode='material.sourceList'>
<Link to={{pathname: `${URL_PREFIX}/query/sourceList`, query: { id: record.id }, state: { name: record.name }}}>货源清单</Link>
</AuthButton>
<AuthButton btnCode='material.toPriceLibrary'>
<Link to={`/memberCenter/commodityAbility/priceManage/priceLibrary?code=${record.code}`}>
{intl.formatMessage({ id: 'material.priceLibrary', defaultMessage: '价格库' })}
</Link>
</AuthButton>
{menuItems.length > 0 ? (
<Dropdown overlay={menu}>
<a className="ant-dropdown-link" onClick={e => e.preventDefault()}>
......
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