CN-549 DNS dashboard图表调整,根域名服务器改为转发域名服务器

This commit is contained in:
hyx
2022-05-10 16:21:36 +08:00
parent 2d89787573
commit da0eb999e7
4 changed files with 37 additions and 18 deletions

View File

@@ -1,3 +1,5 @@
import { dnsServerRole } from '@/utils/constants'
const panel = {
state: {
showRightBox: false,
@@ -15,7 +17,8 @@ const panel = {
x: 0,
y: 0
},
chartList: []
chartList: [],
currentMap: dnsServerRole.RTDNSM
},
mutations: {
setShowRightBox (state, flag) {
@@ -62,6 +65,9 @@ const panel = {
},
cleanChartList (state) {
state.chartList = []
},
setCurrentMap (state, currentMap) {
state.currentMap = currentMap
}
},
getters: {
@@ -103,6 +109,9 @@ const panel = {
},
getChartList (state) {
return state.chartList
},
getCurrentMap (state) {
return state.currentMap
}
},
actions: {