-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- 在多个文件中替换 lodash-es 的使用,使用自定义实现或其他替代方案 - 优化了 vite 配置文件,更新了手动refactor(depend分块依赖列表
- Loading branch information
1 parent
856e6af
commit 288be87
Showing
9 changed files
with
85 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
/* eslint-disable */ | ||
// @ts-nocheck | ||
// Generated by unplugin-vue-components | ||
// Read more: https://github.com/vuejs/core/pull/3399 | ||
export {} | ||
|
||
/* prettier-ignore */ | ||
declare module 'vue' { | ||
export interface GlobalComponents { | ||
CategorySearch: typeof import('./src/components/search/CategorySearch.vue')['default'] | ||
ElAffix: typeof import('element-plus/es')['ElAffix'] | ||
ElAside: typeof import('element-plus/es')['ElAside'] | ||
ElAutocomplete: typeof import('element-plus/es')['ElAutocomplete'] | ||
ElBacktop: typeof import('element-plus/es')['ElBacktop'] | ||
ElBadge: typeof import('element-plus/es')['ElBadge'] | ||
ElBreadcrumb: typeof import('element-plus/es')['ElBreadcrumb'] | ||
ElBreadcrumbItem: typeof import('element-plus/es')['ElBreadcrumbItem'] | ||
ElButton: typeof import('element-plus/es')['ElButton'] | ||
ElButtonGroup: typeof import('element-plus/es')['ElButtonGroup'] | ||
ElCard: typeof import('element-plus/es')['ElCard'] | ||
ElCheckbox: typeof import('element-plus/es')['ElCheckbox'] | ||
ElCol: typeof import('element-plus/es')['ElCol'] | ||
ElContainer: typeof import('element-plus/es')['ElContainer'] | ||
ElDescriptions: typeof import('element-plus/es')['ElDescriptions'] | ||
ElDescriptionsItem: typeof import('element-plus/es')['ElDescriptionsItem'] | ||
ElDialog: typeof import('element-plus/es')['ElDialog'] | ||
ElDivider: typeof import('element-plus/es')['ElDivider'] | ||
ElDrawer: typeof import('element-plus/es')['ElDrawer'] | ||
ElDropdown: typeof import('element-plus/es')['ElDropdown'] | ||
ElDropdownItem: typeof import('element-plus/es')['ElDropdownItem'] | ||
ElDropdownMenu: typeof import('element-plus/es')['ElDropdownMenu'] | ||
ElEmpty: typeof import('element-plus/es')['ElEmpty'] | ||
ElHeader: typeof import('element-plus/es')['ElHeader'] | ||
ElIcon: typeof import('element-plus/es')['ElIcon'] | ||
ElImageViewer: typeof import('element-plus/es')['ElImageViewer'] | ||
ElInput: typeof import('element-plus/es')['ElInput'] | ||
ElLink: typeof import('element-plus/es')['ElLink'] | ||
ElMain: typeof import('element-plus/es')['ElMain'] | ||
ElOption: typeof import('element-plus/es')['ElOption'] | ||
ElPopconfirm: typeof import('element-plus/es')['ElPopconfirm'] | ||
ElRadio: typeof import('element-plus/es')['ElRadio'] | ||
ElRadioGroup: typeof import('element-plus/es')['ElRadioGroup'] | ||
ElRow: typeof import('element-plus/es')['ElRow'] | ||
ElSelect: typeof import('element-plus/es')['ElSelect'] | ||
ElSkeleton: typeof import('element-plus/es')['ElSkeleton'] | ||
ElSlider: typeof import('element-plus/es')['ElSlider'] | ||
ElSwitch: typeof import('element-plus/es')['ElSwitch'] | ||
ElTable: typeof import('element-plus/es')['ElTable'] | ||
ElTableColumn: typeof import('element-plus/es')['ElTableColumn'] | ||
ElTabPane: typeof import('element-plus/es')['ElTabPane'] | ||
ElTabs: typeof import('element-plus/es')['ElTabs'] | ||
ElTag: typeof import('element-plus/es')['ElTag'] | ||
ElTimeline: typeof import('element-plus/es')['ElTimeline'] | ||
ElTimelineItem: typeof import('element-plus/es')['ElTimelineItem'] | ||
Header: typeof import('./src/components/header/Header.vue')['default'] | ||
ImageViewer: typeof import('./src/components/ImageViewer.vue')['default'] | ||
Mind: typeof import('./src/components/mind/Mind.vue')['default'] | ||
MobileHeader: typeof import('./src/components/header/mobile/MobileHeader.vue')['default'] | ||
MobileImageViewer: typeof import('./src/components/mobile/MobileImageViewer.vue')['default'] | ||
RouterLink: typeof import('vue-router')['RouterLink'] | ||
RouterView: typeof import('vue-router')['RouterView'] | ||
Search: typeof import('./src/components/search/Search.vue')['default'] | ||
ThemeSwitcher: typeof import('./src/components/header/ThemeSwitcher.vue')['default'] | ||
} | ||
export interface ComponentCustomProperties { | ||
vLoading: typeof import('element-plus/es')['ElLoadingDirective'] | ||
} | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
|
||
export function cloneDeep(obj: any) { | ||
return JSON.parse(JSON.stringify(obj)) | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters