perf: 调整single-stat的取色按钮样式;修复dcboxbug
This commit is contained in:
@@ -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))
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
@@ -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 = [];
|
||||
|
||||
Reference in New Issue
Block a user