WholeProcessPlatform/frontend/src/store/modules/model.ts

15 lines
231 B
TypeScript
Raw Normal View History

import { defineStore } from 'pinia';
import { ref } from 'vue';
export const useModelStore = defineStore('model', () => {
// state
const info = ref<{
type: string;
}>({
type: 'zh'
});
return {
info,
};
});