|
@@ -54,8 +54,8 @@ onMounted(async () => {
|
|
})
|
|
})
|
|
|
|
|
|
const resizeTabChart = () => {
|
|
const resizeTabChart = () => {
|
|
- adStructChartRef.value.resizeChart()
|
|
|
|
- dataTendencyRef.value.resizeChart()
|
|
|
|
|
|
+ if (adStructChartRef.value) adStructChartRef.value.resizeChart()
|
|
|
|
+ if (dataTendencyRef.value) dataTendencyRef.value.resizeChart()
|
|
}
|
|
}
|
|
const changeTab = () => {
|
|
const changeTab = () => {
|
|
nextTick(() => {
|
|
nextTick(() => {
|