Browse Source

feat: 删除日期过滤条件

rindy 2 years ago
parent
commit
706590d005
1 changed files with 1 additions and 7 deletions
  1. 1 7
      src/pages/LaserBim.vue

+ 1 - 7
src/pages/LaserBim.vue

@@ -65,13 +65,7 @@ const scenes = reactive([
 const highlighted = computed(() => {
     let dates = []
     if (datepickName.value) {
-        if (datepickName.value == 'source') {
-            dates = scenes.filter(item => item.date != target.value.date).map(item => item.date.toDate())
-        } else if (datepickName.value == 'target') {
-            dates = scenes.filter(item => item.date != source.value.date).map(item => item.date.toDate())
-        } else {
-            dates = scenes.map(item => item.date.toDate())
-        }
+        dates = scenes.map(item => item.date.toDate())
     }
     return {
         dates: dates