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
60b94136
Commit
60b94136
authored
Mar 10, 2025
by
fanyj
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tijiao
parent
9a34dbdd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
AssetTable.jsx
src/view/Manage/AssetManage/Component/AssetTable.jsx
+3
-3
No files found.
src/view/Manage/AssetManage/Component/AssetTable.jsx
View file @
60b94136
...
...
@@ -736,7 +736,7 @@ const AssetTable = (props) => {
modal
.
confirm
({
title
:
'提示'
,
content
:
'您确定要
删除
这些资产目录吗?'
,
content
:
'您确定要
下线
这些资产目录吗?'
,
onOk
:
()
=>
{
let
payload
=
{
data
:
checkedKeys
...
...
@@ -746,7 +746,7 @@ const AssetTable = (props) => {
type
:
(
reference
===
AssetManageReference
)?
'assetmanage.unloadDataAssetsFromAllDirs'
:
'assetmanage.deleteDataAssets'
,
payload
,
callback
:
()
=>
{
showMessage
(
"success"
,
"
删除
成功"
);
showMessage
(
"success"
,
"
下线
成功"
);
getDataAssets
();
setCheckedKeys
([]);
},
...
...
@@ -1111,7 +1111,7 @@ const AssetTable = (props) => {
{
//自定义目录下的资产不允许删除
(
nodeType
!==
'custom'
)
&&
<
Tooltip
title=
{
(
checkedKeys
||
[]).
length
===
0
?
'请先选择资产目录'
:
''
}
>
<
Button
onClick=
{
deleteAssets
}
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
删除
</
Button
>
<
Button
onClick=
{
deleteAssets
}
disabled=
{
(
checkedKeys
||
[]).
length
===
0
}
>
下线
</
Button
>
</
Tooltip
>
}
</
React
.
Fragment
>
...
...
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