小程序公告

This commit is contained in:
花有清香月有阴
2021-12-21 19:13:37 +08:00
parent 824ebb5987
commit 09faaeed2c
6 changed files with 457 additions and 4 deletions

View File

@@ -143,8 +143,8 @@ export default {
return {
lists: [
{
iconPath: 'home',
selectedIconPath: 'home-fill',
iconPath: 'order',
selectedIconPath: 'order-fill',
text: '统计分析',
isDot: true,
customIcon: false,
@@ -385,6 +385,17 @@ export default {
changeTab(e) {
this.currentTabBar = e
if (this.currentTabBar == 0) {
this.getList()
this.$nextTick(() => {
if (this.currentTabs == 0) {
this.Echarts1 = echarts.init(document.getElementById('echarts1'))
} else {
this.Echarts2 = echarts.init(document.getElementById('echarts2'))
}
this.getEchart()
})
}
if (this.currentTabBar == 1) {
this.getList()
}