Commit bae53f3e2c62b3fca246432307f45a6363c4c176
1 parent
5dc8226c
feat: add design setting
Showing
2 changed files
with
6 additions
and
1 deletions
src/components/Application/src/AppProvider.vue
... | ... | @@ -6,13 +6,15 @@ |
6 | 6 | import { defineComponent, toRefs } from 'vue'; |
7 | 7 | |
8 | 8 | import { createAppProviderContext } from './useAppContext'; |
9 | + | |
10 | + import designSetting from '/@/settings/designSetting'; | |
9 | 11 | export default defineComponent({ |
10 | 12 | name: 'AppProvider', |
11 | 13 | inheritAttrs: false, |
12 | 14 | props: { |
13 | 15 | prefixCls: { |
14 | 16 | type: String as PropType<string>, |
15 | - default: 'vben', | |
17 | + default: designSetting.prefixCls, | |
16 | 18 | }, |
17 | 19 | }, |
18 | 20 | setup(props) { | ... | ... |
src/settings/designSetting.ts
0 → 100644