initial commit

This commit is contained in:
yangsy
2025-08-13 01:36:30 +08:00
commit 202f83d157
78 changed files with 5896 additions and 0 deletions

11
src/stores/station.ts Normal file
View File

@@ -0,0 +1,11 @@
import type { Station } from '@/apis/domains'
import { defineStore } from 'pinia'
import { computed, ref } from 'vue'
export const useStationStore = defineStore('ndmstation', () => {
const stationList = ref<Station[]>([])
const onlineStationList = computed(() => stationList.value.filter((station) => station.online))
return { stationList, onlineStationList }
})