Explorar o código

Merge branch '07/06musicArchives' into test

wolyshaw %!s(int64=4) %!d(string=hai) anos
pai
achega
3b5badf37b
Modificáronse 1 ficheiros con 2 adicións e 2 borrados
  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) {}