diff --git a/src/views/warning/index.vue b/src/views/warning/index.vue index b9df58e..2877d65 100644 --- a/src/views/warning/index.vue +++ b/src/views/warning/index.vue @@ -8,7 +8,7 @@ const route = useRoute() const loading =ref(false) const total =ref(10) const tableData =ref([]) -const activeTab = ref(route.query.specialArea === 'cwlnt' ? 'cwlnt' : route.query.warningState === '1' ? '1' : 'all') +const activeTab = ref(route.query.specialArea === 'cwlnt' ? 'cwlnt' : route.query.warningState === '1' ? '1' : '0') const query = ref({ size: Number(route.query.size) || 10, current: Number(route.query.current) || 1,