Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
szse
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhaochengxiang
szse
Commits
93419754
Commit
93419754
authored
Mar 15, 2024
by
zhaochengxiang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产草稿路径不允许跳转
parent
d96d3dfb
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
AssetAction.jsx
src/view/Manage/AssetManage/Component/AssetAction.jsx
+3
-2
AssetDetailPage.jsx
src/view/Manage/AssetManage/Component/AssetDetailPage.jsx
+1
-1
No files found.
src/view/Manage/AssetManage/Component/AssetAction.jsx
View file @
93419754
...
...
@@ -1255,9 +1255,10 @@ const AssetAction = (props) => {
>
<span>
{
(assetPaths??[]).length > 0 && <a onClick={() => { jumpToPath(assetPaths[0]); }}>
(assetPaths??[]).length > 0 && (
(reference===AssetDraftReference) ? <span>{assetPaths[0].dataAssetName||''}</span> : <a onClick={() => { jumpToPath(assetPaths[0]); }}>
{assetPaths[0].dataAssetName||''}
</a>
</a>
)
}
{
(assetPaths??[]).length > 0 && (publishedAssetPaths??[]).length > 0 && assetPaths[0].dirId!==publishedAssetPaths[0].dirId && <Typography.Text className='ml-2 pointer' type='danger' onClick={() => { jumpToPath(publishedAssetPaths[0]) }}>
...
...
src/view/Manage/AssetManage/Component/AssetDetailPage.jsx
View file @
93419754
...
...
@@ -70,7 +70,7 @@ const AssetDetailPage = (props)=>{
return
(
<
div
className=
'asset-detail position-relative'
>
<
div
className=
'detail-header'
>
<
span
style=
{
{
fontSize
:
16
,
fontWeight
:
'bold'
,
color
:
'#000'
}
}
>
资产目录详情
</
span
>
<
span
style=
{
{
fontSize
:
16
,
fontWeight
:
'bold'
,
color
:
'#000'
}
}
>
{
isDraft
?
'资产目录草稿详情'
:
'资产目录详情'
}
</
span
>
</
div
>
<
Spin
spinning=
{
loading
}
>
<
div
className=
'detail-container'
>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment