feat(dashboard): dashboard visible after getRole
This commit is contained in:
parent
0d6e8d0d2a
commit
74c2c3577e
|
@ -1,5 +1,5 @@
|
|||
<template>
|
||||
<div class="summary-dashboard">
|
||||
<div v-show="visible" class="summary-dashboard">
|
||||
<topBar
|
||||
v-if="topList.length > 0 && userInfo.userType != 9"
|
||||
:top-list="topList"
|
||||
|
@ -144,11 +144,13 @@ export default {
|
|||
dailyPerformance: {},
|
||||
monthlyPerformance: {},
|
||||
defaultTabItem: 'summaryDashboard',
|
||||
userInfo: {}
|
||||
userInfo: {},
|
||||
visible: false
|
||||
}
|
||||
},
|
||||
mounted() {
|
||||
this.getRoles().then(() => {
|
||||
this.visible = true
|
||||
this.getMemberSummary()
|
||||
this.getDailyPerformance()
|
||||
this.getMonthlyPerformance()
|
||||
|
|
Loading…
Reference in New Issue