perf: 调整single-stat的取色按钮样式;修复dcboxbug

This commit is contained in:
陈劲松
2020-12-18 17:57:00 +08:00
committed by chenjinsong
parent 1af777a4e0
commit 0fcdf9dfef
3 changed files with 7 additions and 3 deletions

View File

@@ -517,6 +517,7 @@
},
mounted() {
this.getUserData();
//初始化表头
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path))

View File

@@ -117,10 +117,12 @@
}
.color-show{
border: 1px solid #E7EAED;
border-radius: 5px;
border-radius: 4px;
top: -2px;
align-items: center;
width: 28px;
height: 28px;
box-sizing: border-box;
display: inline-block;
vertical-align: middle;
position: relative;
@@ -128,7 +130,8 @@
.color-show-left{
width: 28px;
height: 28px;
border-radius: 5px;
border-radius: 4px;
box-sizing: border-box;
text-align: center;
line-height: 28px;
}

View File

@@ -159,7 +159,7 @@
}
} else if (this.styleType == 2) {
if (n) {
console.log(this.$parent.$parent)
//console.log(this.$parent.$parent)
this.metricOptions = this.$parent.$parent.$parent.getMetricOptions();
} else {
this.metricOptions = [];