From f8f0294c58d915bd7ef87286d6075c581947b5c8 Mon Sep 17 00:00:00 2001 From: iczer <1126263215@qq.com> Date: Thu, 20 Sep 2018 11:41:28 +0800 Subject: [PATCH] refactor: register ant-design-vue components in main.js #28 --- src/components/analysis/HotSearch.vue | 6 +-- src/components/analysis/SalesData.vue | 5 --- src/components/card/ChartCard.vue | 2 - src/components/chart/MiniProgress.vue | 2 - src/components/chart/Trend.vue | 2 - src/components/checkbox/ColorCheckbox.vue | 3 -- src/components/checkbox/ImgCheckbox.vue | 3 -- src/components/exception/ExceptionPage.vue | 2 - src/components/menu/Contextmenu.vue | 4 -- src/components/menu/SiderMenu.vue | 3 +- src/components/page/PageHeader.vue | 5 --- src/components/result/Result.vue | 2 - src/components/setting/Setting.vue | 26 +----------- src/components/setting/StyleItem.vue | 4 +- src/components/table/StandardTable.vue | 4 -- src/components/task/TaskGroup.vue | 3 +- src/components/task/TaskItem.vue | 4 +- src/components/tool/AStepItem.vue | 3 -- src/components/tool/AvatarList.vue | 1 - src/components/tool/DetailList.vue | 2 - src/components/tool/Drawer.vue | 2 - src/components/tool/TagSelect.vue | 5 +-- src/components/tool/TagSelectOption.vue | 2 - src/layouts/GlobalFooter.vue | 4 +- src/layouts/GlobalHeader.vue | 20 +-------- src/layouts/GlobalLayout.vue | 19 +-------- src/layouts/HeaderNotice.vue | 13 ------ src/layouts/HeaderSearch.vue | 4 -- src/layouts/HeaderlAvatar.vue | 9 ---- src/layouts/MenuView.vue | 7 +--- src/layouts/PageLayout.vue | 3 +- src/main.js | 4 +- src/pages/dashboard/Analysis.vue | 28 +------------ src/pages/dashboard/WorkPlace.vue | 29 +------------ src/pages/detail/AdvancedDetail.vue | 27 +----------- src/pages/detail/BasicDetail.vue | 7 +--- src/pages/form/BasicForm.vue | 27 ------------ src/pages/form/advancedForm/AdvancedForm.vue | 4 +- .../form/advancedForm/RepositoryForm.vue | 13 ------ src/pages/form/advancedForm/TableForm.vue | 8 ---- src/pages/form/advancedForm/TaskForm.vue | 12 ------ src/pages/form/stepForm/Step1.vue | 10 ----- src/pages/form/stepForm/Step2.vue | 5 --- src/pages/form/stepForm/Step3.vue | 5 +-- src/pages/form/stepForm/StepForm.vue | 6 +-- src/pages/list/CardList.vue | 9 ---- src/pages/list/QueryList.vue | 35 +--------------- src/pages/list/StandardList.vue | 42 +------------------ src/pages/list/search/ApplicationList.vue | 14 +------ src/pages/list/search/ArticleList.vue | 10 +---- src/pages/list/search/ProjectList.vue | 8 +--- src/pages/list/search/SearchForm.vue | 10 +---- src/pages/list/search/SearchLayout.vue | 9 ---- src/pages/login/Login.vue | 28 +------------ src/pages/result/Error.vue | 5 +-- src/pages/result/Success.vue | 21 +--------- 56 files changed, 30 insertions(+), 520 deletions(-) diff --git a/src/components/analysis/HotSearch.vue b/src/components/analysis/HotSearch.vue index feb0174..329372a 100644 --- a/src/components/analysis/HotSearch.vue +++ b/src/components/analysis/HotSearch.vue @@ -34,11 +34,7 @@ diff --git a/src/components/chart/MiniProgress.vue b/src/components/chart/MiniProgress.vue index c1cd41d..ef9157a 100644 --- a/src/components/chart/MiniProgress.vue +++ b/src/components/chart/MiniProgress.vue @@ -13,10 +13,8 @@ diff --git a/src/components/chart/Trend.vue b/src/components/chart/Trend.vue index bcbfa55..ca6482a 100644 --- a/src/components/chart/Trend.vue +++ b/src/components/chart/Trend.vue @@ -7,10 +7,8 @@ diff --git a/src/components/setting/Setting.vue b/src/components/setting/Setting.vue index 40574ee..0fd0d66 100644 --- a/src/components/setting/Setting.vue +++ b/src/components/setting/Setting.vue @@ -67,42 +67,18 @@ diff --git a/src/components/table/StandardTable.vue b/src/components/table/StandardTable.vue index 2d5d836..5f46a6e 100644 --- a/src/components/table/StandardTable.vue +++ b/src/components/table/StandardTable.vue @@ -28,12 +28,8 @@ diff --git a/src/components/tool/AStepItem.vue b/src/components/tool/AStepItem.vue index c60fc46..fab269b 100644 --- a/src/components/tool/AStepItem.vue +++ b/src/components/tool/AStepItem.vue @@ -10,8 +10,6 @@ diff --git a/src/components/tool/DetailList.vue b/src/components/tool/DetailList.vue index d6f56be..e1797ab 100644 --- a/src/components/tool/DetailList.vue +++ b/src/components/tool/DetailList.vue @@ -9,7 +9,6 @@ diff --git a/src/layouts/GlobalHeader.vue b/src/layouts/GlobalHeader.vue index bf8f0c2..ccf96ad 100644 --- a/src/layouts/GlobalHeader.vue +++ b/src/layouts/GlobalHeader.vue @@ -25,32 +25,14 @@ diff --git a/src/pages/dashboard/WorkPlace.vue b/src/pages/dashboard/WorkPlace.vue index 18e8f2b..a10dbb6 100644 --- a/src/pages/dashboard/WorkPlace.vue +++ b/src/pages/dashboard/WorkPlace.vue @@ -89,39 +89,12 @@ diff --git a/src/pages/detail/BasicDetail.vue b/src/pages/detail/BasicDetail.vue index 2aff809..c93fda2 100644 --- a/src/pages/detail/BasicDetail.vue +++ b/src/pages/detail/BasicDetail.vue @@ -36,12 +36,7 @@ diff --git a/src/pages/list/search/ApplicationList.vue b/src/pages/list/search/ApplicationList.vue index cf9f182..9bde7ed 100644 --- a/src/pages/list/search/ApplicationList.vue +++ b/src/pages/list/search/ApplicationList.vue @@ -43,22 +43,10 @@ diff --git a/src/pages/list/search/ArticleList.vue b/src/pages/list/search/ArticleList.vue index a6f928b..cbe8f78 100644 --- a/src/pages/list/search/ArticleList.vue +++ b/src/pages/list/search/ArticleList.vue @@ -33,18 +33,10 @@ diff --git a/src/pages/list/search/ProjectList.vue b/src/pages/list/search/ProjectList.vue index da1d2b3..080dff2 100644 --- a/src/pages/list/search/ProjectList.vue +++ b/src/pages/list/search/ProjectList.vue @@ -27,20 +27,14 @@ diff --git a/src/pages/list/search/SearchForm.vue b/src/pages/list/search/SearchForm.vue index c9bc11a..4db371a 100644 --- a/src/pages/list/search/SearchForm.vue +++ b/src/pages/list/search/SearchForm.vue @@ -68,22 +68,14 @@