Browse Source

fix(frontend): 修复 tasks.vue switchTab 方法重复代码段导致的编译错误

liaoxg 1 month ago
parent
commit
62e01146ca
1 changed files with 0 additions and 3 deletions
  1. 0 3
      cfc-frontend/pages/tasks/tasks.vue

+ 0 - 3
cfc-frontend/pages/tasks/tasks.vue

@@ -300,9 +300,6 @@ export default {
     },
     goToOrchestration() {
       uni.navigateTo({ url: '/pages/orchestration/index' })
-    },
-      else if (tab === 'today') this.loadTodayTasks()
-      else if (tab === 'created') this.loadCreatedTasks()
     },
     async loadInitialData() {
       this.loading = true