gemercheung %!s(int64=2) %!d(string=hai) anos
pai
achega
1e9d4ac7a6
Modificáronse 1 ficheiros con 4 adicións e 4 borrados
  1. 4 4
      src/views/room/edit-room/album-list.vue

+ 4 - 4
src/views/room/edit-room/album-list.vue

@@ -69,10 +69,10 @@ const totalist = computed(() =>
 )
 
 const current = computed(() => [
-  addMarked
+  addMarked,
   // ...totalist.value
   // ...albumFileExist.value,
-  // ...albumFile.value
+  ...albumFile.value
 ])
 const albumList = computed(() =>
   Array.from(albumFile.value).reduce((prev, cur) => {
@@ -106,8 +106,8 @@ watchEffect(() => {
       tempData.status = 'done'
       return tempData
     })
-    albumFileExist.value = uniqBy(
-      albumFileExist.value.concat(mapper),
+    albumFile.value = uniqBy(
+      albumFile.value.concat(mapper),
       'response.data'
     )
   }