浏览代码

themeStyle类型重命名

tongshangming 1 年之前
父节点
当前提交
aba5ee6a99
共有 2 个文件被更改,包括 3 次插入3 次删除
  1. 1 1
      src/types/themeStyle.ts
  2. 2 2
      src/utils/constants.ts

+ 1 - 1
src/types/themeStyle.ts

@@ -1,4 +1,4 @@
-export type themeStyle = {
+export type ThemeStyle = {
   name: string
   img: string
   bgColor: string

+ 2 - 2
src/utils/constants.ts

@@ -1,5 +1,5 @@
 import type { BasicForm } from '@/types/form'
-import type { themeStyle } from '@/types/themeStyle'
+import type { ThemeStyle } from '@/types/themeStyle'
 import navDark from '@/assets/svg/nav-theme-dark.svg'
 import navLight from '@/assets/svg/nav-theme-light.svg'
 import navH from '@/assets/svg/nav-h.svg'
@@ -48,7 +48,7 @@ export const orgFormConfig = reactive<BasicForm>({
   ]
 })
 
-export const themeStyleList: themeStyle[] = [
+export const themeStyleList: ThemeStyle[] = [
   {
     name: 'nav-dark',
     img: navDark,