feat: loading和部分nodata处理;地图功能
This commit is contained in:
@@ -47,7 +47,9 @@ const panel = {
|
||||
queryCondition: '', // 数据查询的条件
|
||||
networkOverviewTabList: [], // 存储tab列表的一些状态:如是否选中
|
||||
tabOperationType: 0, // 操作类型:2-二级菜单;3-三级菜单;4-四级菜单;5-切换tab;6-切换metric;7-操作Customize
|
||||
tabOperationBeforeType: 0// 记录上次的操作类型
|
||||
tabOperationBeforeType: 0, // 记录上次的操作类型
|
||||
npmLocationCountry: '', // npm location的查询条件--国家
|
||||
npmLocationSide: 'server' // npm location的查询条件--方向
|
||||
},
|
||||
mutations: {
|
||||
setShowRightBox (state, flag) {
|
||||
@@ -127,6 +129,12 @@ const panel = {
|
||||
},
|
||||
setTabOperationBeforeType (state, tabOperationBeforeType) {
|
||||
state.tabOperationBeforeType = tabOperationBeforeType
|
||||
},
|
||||
setNpmLocationCountry (state, country) {
|
||||
state.npmLocationCountry = country
|
||||
},
|
||||
setNpmLocationSide (state, side) {
|
||||
state.npmLocationSide = side
|
||||
}
|
||||
},
|
||||
getters: {
|
||||
@@ -201,6 +209,12 @@ const panel = {
|
||||
},
|
||||
getTabOperationBeforeType (state) {
|
||||
return state.tabOperationBeforeType
|
||||
},
|
||||
getNpmLocationCountry (state) {
|
||||
return state.npmLocationCountry
|
||||
},
|
||||
getNpmLocationSide (state) {
|
||||
return state.npmLocationSide
|
||||
}
|
||||
},
|
||||
actions: {
|
||||
|
||||
Reference in New Issue
Block a user