chenzhou/src/store/settings.js

17 lines
355 B
JavaScript
Raw Normal View History

2024-01-22 11:25:13 +08:00
import { defineStore } from "pinia";
import { ref } from "vue";
export const useSettings = defineStore("settings", () => {
const settings = ref({
resolution: {
width: null,
height: null,
},
carousel: null,
fullscreen: false,
status: false,
});
function updateSettings() {}
return { settings, updateSettings };
});