NEZ-2047 fix: bug1 bug2 修改

This commit is contained in:
zhangyu
2022-07-19 16:31:08 +08:00
parent ab7750cdfa
commit 517ce4bbe1
3 changed files with 8 additions and 5 deletions

View File

@@ -252,7 +252,7 @@ export default {
this.$refs.emailForm.clearValidate()
}
if (type == 'monitor') {
localStorage.setItem('nz-prometheus-federation-enabled', this.monitor.prometheus_federation_enabled)
}
this[type + 'Copy'] = Object.assign({}, this[type])
}