refactor(query): remove unnecessary query calls and optimize global loading
This commit is contained in:
@@ -30,7 +30,6 @@ const vimpOperationTypeOptions: SelectOption[] = [
|
||||
<script setup lang="ts">
|
||||
import type { NdmVimpLogResultVO } from '@/apis/models/device';
|
||||
import { ndmVimpLogDefaultExportByTemplate, postNdmVimpLogPage } from '@/apis/requests';
|
||||
import { useStationListQuery } from '@/composables/query';
|
||||
import { useStationStore } from '@/stores/station';
|
||||
import { downloadByData } from '@/utils/download';
|
||||
import { useMutation } from '@tanstack/vue-query';
|
||||
@@ -57,7 +56,6 @@ import {
|
||||
import { storeToRefs } from 'pinia';
|
||||
import { computed, h, onMounted, reactive, ref, watch, watchEffect } from 'vue';
|
||||
|
||||
useStationListQuery();
|
||||
const stationStore = useStationStore();
|
||||
const { stationList, onlineStationList } = storeToRefs(stationStore);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user