Commit ce7a394b by zhaochengxiang

资产权限

parent 2eda3693
......@@ -420,6 +420,8 @@ const AssetAction = (props) => {
</div>
}
{
(!loading && assets?.allowButtons && ((assets?.allowButtons||[]).findIndex(item => item==='preview') === -1)) ? <div className='m-1'>暂无权限</div> : <React.Fragment>
{
(action!=='add' && (id||'')!=='') && <div>
<div className='pl-common py-compact-common'>
<Descriptions column={1}>
......@@ -585,7 +587,8 @@ const AssetAction = (props) => {
}
</Spin>
</div>
</React.Fragment>
}
<AppContext.Consumer>
{
value => {
......
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