Browse Source

feat: save

gemercheung 9 tháng trước cách đây
mục cha
commit
b440266411
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      src/views/topicNavigation/index.vue

+ 2 - 2
src/views/topicNavigation/index.vue

@@ -250,8 +250,8 @@ watch(
   () => {
     if (isPanoEditing.value && typeof currentPanoEditing.value === 'number') {
       const origin = dataList.value[currentPanoEditing.value]
-      if (origin) {
-        origin.panos = panos.value || []
+      if (origin && panos.value.length > 0) {
+        origin.panos = panos.value
       }
     }
   },