Merge branch 'dev-3.3' of https://git.mesalab.cn/nezha/nezha-fronted into dev-3.4

# Conflicts:
#	nezha-fronted/src/components/page/dashboard/panel.vue
This commit is contained in:
zhangyu
2022-07-14 11:36:45 +08:00
519 changed files with 13175 additions and 85 deletions

View File

@@ -31,7 +31,7 @@ export function getHexagon (key) {
return hexagonCache[`hexagon${key}`]
}
const topologyCache = {}
export let topologyCache = {}
export function getTopology (key) {
// console.log(topologyCache, 'topologyCache')
@@ -42,13 +42,16 @@ export function setTopology (key, value) {
topologyCache[`topology${key}`] = value
}
export function clearTopologyCache () {
topologyCache = {}
}
// const topologyImgList = localStorage.getItem('nz-imgList') ? JSON.parse(localStorage.getItem('nz-imgList')) : {}
export function getTopologyImg (key) {
return false
}
const topologyImg = {}
export const topologyImg = {}
export function dealImg (url, id) {
if (url) {