From a22f57dd85c1d990791ead57c666d9de2a96a73f Mon Sep 17 00:00:00 2001 From: xiaomo Date: Mon, 27 May 2024 11:02:08 +0800 Subject: [PATCH] [AMORO-2731]: remove unuse import (#2858) --- .../src/components/VirtualRecycleScroller.vue | 2 +- .../src/components/echarts/Chart.vue | 4 -- .../src/components/loading/loading.vue | 1 - .../components/tables-sub-menu/CreateDB.vue | 5 -- .../src/views/catalogs/Detail.vue | 8 ---- .../src/views/catalogs/index.vue | 2 +- .../views/hive-details/components/Details.vue | 2 - .../views/hive-details/components/Field.vue | 2 - .../hive-details/components/Partition.vue | 2 - .../src/views/hive-details/index.vue | 9 +--- .../src/views/optimize/components/List.vue | 2 +- .../views/optimize/components/ScaleOut.vue | 2 +- .../views/resource/components/GroupModal.vue | 47 ++++--------------- .../src/views/resource/components/List.vue | 2 +- .../views/resource/components/ScaleOut.vue | 2 +- .../src/views/resource/index.vue | 9 +--- .../src/views/settings/index.vue | 3 -- .../src/views/tables/components/Details.vue | 2 - .../views/tables/components/Operations.vue | 2 +- .../src/views/tables/components/Snapshots.vue | 2 - 20 files changed, 19 insertions(+), 91 deletions(-) diff --git a/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue b/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue index fd684c05a8..1e4bf42411 100644 --- a/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue +++ b/amoro-ams/amoro-ams-dashboard/src/components/VirtualRecycleScroller.vue @@ -49,7 +49,7 @@ export default defineComponent ({ RecycleScroller }, emits: ['mouseEnter', 'handleClickTable'], - setup(props, { emit }) { + setup(_, { emit }) { const handleMouseEnter = (item: IMap) => { emit('mouseEnter', item.label) } diff --git a/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue b/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue index ad132daf7b..477d017a6f 100644 --- a/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue +++ b/amoro-ams/amoro-ams-dashboard/src/components/echarts/Chart.vue @@ -22,14 +22,10 @@