Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
chenqikuai
source-trace-manage
Commits
a3095a01
Commit
a3095a01
authored
Jun 13, 2022
by
chenqikuai
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 专辑删除
parent
977b966d
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
14 deletions
+0
-14
AlbumList.vue
...Collection/AlbumManagement/components/Album/AlbumList.vue
+0
-14
No files found.
src/views/Collection/AlbumManagement/components/Album/AlbumList.vue
View file @
a3095a01
...
@@ -46,17 +46,6 @@ const renameAlbum = (albumMsg: any) => {
...
@@ -46,17 +46,6 @@ const renameAlbum = (albumMsg: any) => {
};
};
const
deleteAlbum
=
async
(
item
:
any
)
=>
{
const
deleteAlbum
=
async
(
item
:
any
)
=>
{
const
res
=
await
$ajax
({
url
:
URLS
.
files
,
type
:
"get"
,
params
:
{
category_id
:
item
.
id
as
string
,
page
:
1
,
page_size
:
10
,
img_width
:
70
,
},
});
if
(
res
?.
code
===
200
&&
res
.
data
.
total
===
0
)
{
showTip
(
showTip
(
"确认删除此专辑及专辑内全部内容吗?删除后无法找回,请谨慎操作。"
,
"确认删除此专辑及专辑内全部内容吗?删除后无法找回,请谨慎操作。"
,
async
()
=>
{
async
()
=>
{
...
@@ -74,9 +63,6 @@ const deleteAlbum = async (item: any) => {
...
@@ -74,9 +63,6 @@ const deleteAlbum = async (item: any) => {
}
}
}
}
);
);
}
else
{
showTip
(
"请先将专辑内的藏品删除后,在删除专辑。"
,
async
()
=>
{});
}
};
};
const
confirmRename
=
async
(
name
:
string
)
=>
{
const
confirmRename
=
async
(
name
:
string
)
=>
{
...
...
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