Commit 8b9d0dbb by zhaochengxiang

增加资产分享和浏览次数

parent 0b0cba30
......@@ -784,6 +784,12 @@ const AssetAction = React.forwardRef(function (props, ref) {
}
</span>
</Descriptions.Item>
<Descriptions.Item
label='浏览次数'
style={{ paddingBottom: 0 }}
>
{assets?.visitCount}
</Descriptions.Item>
</Descriptions>
</div>
</div>
......@@ -814,10 +820,11 @@ const AssetAction = React.forwardRef(function (props, ref) {
}
</React.Fragment>
}
{/* {
{
reference !== AssetRecycleReference && <Button onClick={shareAsset}>分享</Button>
}
{/*
{
reference !== AssetDraftReference && reference !== AssetRecycleReference && <SubsribeButton id={assets?.id} appType='dataAssetManager' subType={assets?.templateType} env={app?.env?.domainId||catalog||LocalStorage.get('assetsEnv')} />
}
......
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