Explorar o código

Merge branch '07/06musicArchives' into test

wolyshaw %!s(int64=4) %!d(string=hai) anos
pai
achega
0dc72994dd
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

@@ -198,11 +198,11 @@ export default {
     async confirm() {
       try {
         await this.$confirm('是否确认修改照片信息?', '提示')
-        const data = this.list.map((item, index) => ([{
+        const data = this.list.map((item, index) => ({
           ...item,
           order: index,
           clientShow: +this.views.includes(item.id)
-        }]))
+        }))
         await photoUpdate(data)
         this.editing = false
         this.$message.success('修改成功')