Browse Source

删除作品

dev_YWQ
HolyKnightIX 2 years ago
parent
commit
070939e4c9
1 changed files with 4 additions and 0 deletions
  1. +4
    -0
      src/views/myCreating/index.vue

+ 4
- 0
src/views/myCreating/index.vue View File

@@ -260,9 +260,13 @@ function delPhotoVideo(videoID) {
delUserPhotoVideoByID(videoID)
.then((res) => {
console.log(res, "res");
const msg = lanChange.value == "zh-cn" ? `删除成功!` : `Success !`;
ElMessage.success(msg);
getPhotoVideoList(pageNum.value, pageSize.value, title.value);
})
.catch((err) => {
console.log(err, "err");
ElMessage.error(err.message);
});
}



Loading…
Cancel
Save