CN-525 echarts图内文字动态调整大小

This commit is contained in:
hyx
2022-05-06 11:29:13 +08:00
parent 9af61333bc
commit 79c003a33a
7 changed files with 251 additions and 25 deletions

View File

@@ -12,6 +12,8 @@
import Header from './Header'
import LeftMenu from './LeftMenu'
import Container from './Container'
import { getEchartsFontSize } from '@/utils/tools'
export default {
name: 'Home',
components: {
@@ -29,6 +31,9 @@ export default {
this.containerShow = false
this.$nextTick(() => { this.containerShow = true })
}
},
created () {
getEchartsFontSize()
}
}
</script>