index bug
This commit is contained in:
@@ -136,6 +136,7 @@ export default {
|
||||
props: {},
|
||||
data() {
|
||||
return {
|
||||
index: '',
|
||||
lists: [
|
||||
{
|
||||
iconPath: 'home',
|
||||
@@ -198,9 +199,16 @@ export default {
|
||||
...mapState(['user', 'global']),
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
onLoad(o) {
|
||||
if (o.index) {
|
||||
this.indexBar = o.index
|
||||
}
|
||||
this.getEchart1()
|
||||
this.getEchart2()
|
||||
this.getList()
|
||||
this.getList2()
|
||||
|
||||
this.currentTabBar = this.indexBar
|
||||
this.areaId = this.user.areaId
|
||||
},
|
||||
mounted() {
|
||||
|
||||
Reference in New Issue
Block a user