NEZ-1729 fix:开启2FA登录后再次开启第二个窗口后界面出错

This commit is contained in:
zhangyu
2022-03-23 17:33:11 +08:00
parent 1cfe975e3e
commit be54a0d868
6 changed files with 9 additions and 15 deletions

View File

@@ -556,7 +556,6 @@ export default {
}
})
.catch(response => {
console.log(response)
this.$message.error(response.msg)
})
})
@@ -620,7 +619,6 @@ export default {
chartInfo.elements[0].expression = this.currentMsg.alertRule.expr.replace(/\"/g, '\'').replace(/\r|\n+/g, '')
chartInfo.elements[0].filter = encodeURIComponent(decodeURIComponent(this.promQueryParamLabels(this.currentMsg.labels)))
chartInfo.unit = this.currentMsg.alertRule.unit
console.log(chartInfo.unit)
this.showFullscreen(true, chartInfo)
} else if (this.currentMsg.alertRule.type === 2) {
const chartInfo = lodash.cloneDeep(logData)