【fix ESLint】src/components/ChartCard、lazy_antd

This commit is contained in:
zhaoxiao
2023-03-06 10:06:57 +08:00
parent 516af1cb77
commit 03481b1b3e
2 changed files with 71 additions and 71 deletions
+13 -13
View File
@@ -23,8 +23,8 @@
</template> </template>
<script> <script>
export default { export default {
name: "ChartCard", name: 'ChartCard',
props: { props: {
title: { title: {
type: String, type: String,
@@ -39,11 +39,11 @@
default: false default: false
} }
} }
} }
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.chart-card-header { .chart-card-header {
position: relative; position: relative;
overflow: hidden; overflow: hidden;
width: 100%; width: 100%;
@@ -56,16 +56,16 @@
font-size: 14px; font-size: 14px;
line-height: 22px; line-height: 22px;
} }
} }
.chart-card-action { .chart-card-action {
cursor: pointer; cursor: pointer;
position: absolute; position: absolute;
top: 0; top: 0;
right: 0; right: 0;
} }
.chart-card-footer { .chart-card-footer {
border-top: 1px solid #e8e8e8; border-top: 1px solid #e8e8e8;
padding-top: 9px; padding-top: 9px;
margin-top: 8px; margin-top: 8px;
@@ -80,9 +80,9 @@
text-overflow: ellipsis; text-overflow: ellipsis;
margin: 0; margin: 0;
} }
} }
.chart-card-content { .chart-card-content {
margin-bottom: 12px; margin-bottom: 12px;
position: relative; position: relative;
height: 46px; height: 46px;
@@ -94,9 +94,9 @@
bottom: 0; bottom: 0;
width: 100%; width: 100%;
} }
} }
.total { .total {
overflow: hidden; overflow: hidden;
text-overflow: ellipsis; text-overflow: ellipsis;
word-break: break-all; word-break: break-all;
@@ -107,5 +107,5 @@
font-size: 30px; font-size: 30px;
line-height: 38px; line-height: 38px;
height: 38px; height: 38px;
} }
</style> </style>
+2 -2
View File
@@ -58,9 +58,9 @@ import {
Slider, Slider,
Transfer, Transfer,
Rate, Rate,
Collapse, Collapse
} from 'ant-design-vue' } from 'ant-design-vue'
import Viser from 'viser-vue' // import Viser from 'viser-vue'
Vue.use(ConfigProvider) Vue.use(ConfigProvider)
Vue.use(Layout) Vue.use(Layout)