NEZ-1968 fix:黑色主题样式修改

This commit is contained in:
zhangyu
2022-06-23 15:12:43 +08:00
parent 466ccce8b1
commit e4bab2ee70
7 changed files with 40 additions and 13 deletions

View File

@@ -828,9 +828,11 @@ export default {
this.projectAlertShow = true
this.saveData = JSON.parse(JSON.stringify(data))
this.topologyInfo.name = this.obj.name
data.ruleColor = this.theme == 'light' ? '#4e4e4e' : '#BEBEBE'
resolve(data)
data = null
} else {
data.ruleColor = this.theme == 'light' ? '#4e4e4e' : '#BEBEBE'
if (data.data) {
this.topologyInfo = {
fontSize: data.data.fontSize,