feat: current-alarms-store & move ThemeSwitch

This commit is contained in:
yangsy
2025-08-29 11:53:46 +08:00
parent aae15f3240
commit 5a148910af
5 changed files with 122 additions and 16 deletions

View File

@@ -0,0 +1,12 @@
import { defineStore } from 'pinia';
import { ref } from 'vue';
export const useCurrentAlarmsStore = defineStore('ndm-current-alarms-store', () => {
const currentAlarmCount = ref(0);
const needReload = ref(false);
return {
currentAlarmCount,
needReload,
};
});