chore: 引入 element-plus 依赖 (手动引入)
This commit is contained in:
9
frontend/src/stores/themeConfig.ts
Normal file
9
frontend/src/stores/themeConfig.ts
Normal file
@@ -0,0 +1,9 @@
|
||||
import { ref } from 'vue'
|
||||
import { defineStore } from 'pinia'
|
||||
|
||||
export const useThemeConfigStore = defineStore('themeConfig', () => {
|
||||
// 全局组件大小
|
||||
const elSize = ref<"" | "small" | "default" | "large">('small')
|
||||
|
||||
return { elSize }
|
||||
})
|
Reference in New Issue
Block a user