소스 검색

Merge branch '07/06musicArchives' into test

wolyshaw 4 년 전
부모
커밋
3b5badf37b
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/photo-detail/index.vue

+ 2 - 2
src/views/photo-detail/index.vue

@@ -145,10 +145,10 @@ export default {
     async setCover(item) {
       try {
         await this.$confirm('是否确认设置为封面?', '提示')
-        await photoAlbumUpdate({
+        await photoAlbumUpdate([{
           ...this.queryIdOrType,
           coverUrl: item.url
-        })
+        }])
         this.$message.success('设置成功')
         this.FetchList()
       } catch (error) {}