小程序公告
This commit is contained in:
@@ -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()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user