diff --git a/src/views/components/rankList/index.vue b/src/views/components/rankList/index.vue index 94a1dfa..f53a923 100644 --- a/src/views/components/rankList/index.vue +++ b/src/views/components/rankList/index.vue @@ -5,7 +5,7 @@
{{ label }}
@@ -43,11 +43,16 @@ export default { type: String, default: '' }, + data: { + type: Array, + default: ()=> [] + }, operation: { type: Array, default: ()=> ([{ label: '总', prop: '' }, { label: '日', prop: '' }]) } }, + data() { return { activeIndex: 0 @@ -105,6 +110,8 @@ export default { } .list-content { + width: 100%; + overflow: hidden; .list-item { height: 37px; line-height: 37px; diff --git a/src/views/dashboard/LineChart.vue b/src/views/dashboard/LineChart.vue index 702ff73..3c5c6dc 100644 --- a/src/views/dashboard/LineChart.vue +++ b/src/views/dashboard/LineChart.vue @@ -5,7 +5,16 @@