settings.ts 589 B

123456789101112131415161718192021222324
  1. import { defaultsDeep } from 'lodash-es'
  2. import settingsDefault from '@/settings.default'
  3. const globalSettings: Settings.all = {
  4. // 请在此处编写或粘贴配置代码
  5. tabbar: {
  6. list: [
  7. {
  8. path: '/',
  9. icon: 'i-ic:sharp-home',
  10. activeIcon: 'i-ic:twotone-home',
  11. text: '主页',
  12. },
  13. {
  14. path: '/user',
  15. icon: 'i-ic:baseline-person',
  16. activeIcon: 'i-ic:twotone-person',
  17. text: '我的',
  18. },
  19. ],
  20. },
  21. }
  22. export default defaultsDeep(globalSettings, settingsDefault) as RecursiveRequired<Settings.all>