feat: station card layout of DashboardPage is adjustable

This commit is contained in:
yangsy
2025-09-11 12:07:53 +08:00
parent 2ac9bbdd37
commit 630ad21b4b
3 changed files with 30 additions and 2 deletions

16
src/stores/layout.ts Normal file
View File

@@ -0,0 +1,16 @@
import { defineStore } from 'pinia';
import { ref } from 'vue';
export const useLayoutStore = defineStore(
'ndm-layout-store',
() => {
const stationLayoutGridCols = ref(8);
return {
stationLayoutGridCols,
};
},
{
persist: true,
},
);