File tree Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Expand file tree Collapse file tree 3 files changed +3
-5
lines changed Original file line number Diff line number Diff line change 2525 <a-icon type =" setting" />
2626 <span >测试</span >
2727 </a-menu-item >
28- <a-menu-item key =" 2 " disabled >
28+ <a-menu-item key =" 3 " disabled >
2929 <a :href =" helpUrl" target =" _blank" >
3030 <a-icon type =" question-circle-o" ></a-icon >
3131 <span >Help</span >
3232 </a >
3333 </a-menu-item >
3434 <a-menu-divider />
35- <a-menu-item key =" 3 " >
35+ <a-menu-item key =" 4 " >
3636 <a href =" javascript:;" @click =" handleLogout" >
3737 <a-icon type =" logout" />
3838 <span >Logout</span >
Original file line number Diff line number Diff line change 1111
1212<script >
1313import store from ' @/store'
14- import { mapState } from ' vuex'
1514import CapacityDashboard from ' ./CapacityDashboard'
1615import UsageDashboard from ' ./UsageDashboard'
1716
@@ -27,7 +26,6 @@ export default {
2726 project: false
2827 }
2928 },
30- computed: mapState ([' project' ]),
3129 mounted () {
3230 this .showCapacityDashboard = store .getters .apis .hasOwnProperty (' listCapacity' )
3331 this .project = store .getters .project !== undefined && store .getters .project .id !== undefined
Original file line number Diff line number Diff line change @@ -79,7 +79,7 @@ export default {
7979 api (' listVirtualMachines' , { listall: true }).then (json => {
8080 var count = 0
8181 if (json && json .listvirtualmachinesresponse ) {
82- count = json .listnetworksresponse .count
82+ count = json .listvirtualmachinesresponse .count
8383 }
8484 this .stats .push ({ name: ' Total VMs' , count: count })
8585 })
You can’t perform that action at this time.
0 commit comments