perf: 调整single-stat的取色按钮样式;修复dcboxbug
This commit is contained in:
@@ -517,6 +517,7 @@
|
|||||||
|
|
||||||
},
|
},
|
||||||
mounted() {
|
mounted() {
|
||||||
|
this.getUserData();
|
||||||
//初始化表头
|
//初始化表头
|
||||||
this.tools.customTableTitle = localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path)
|
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))
|
? JSON.parse(localStorage.getItem("nz-tableTitle-" + localStorage.getItem("nz-username") + "-" + this.$route.path))
|
||||||
|
|||||||
@@ -117,10 +117,12 @@
|
|||||||
}
|
}
|
||||||
.color-show{
|
.color-show{
|
||||||
border: 1px solid #E7EAED;
|
border: 1px solid #E7EAED;
|
||||||
border-radius: 5px;
|
border-radius: 4px;
|
||||||
|
top: -2px;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
|
box-sizing: border-box;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
vertical-align: middle;
|
vertical-align: middle;
|
||||||
position: relative;
|
position: relative;
|
||||||
@@ -128,7 +130,8 @@
|
|||||||
.color-show-left{
|
.color-show-left{
|
||||||
width: 28px;
|
width: 28px;
|
||||||
height: 28px;
|
height: 28px;
|
||||||
border-radius: 5px;
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
line-height: 28px;
|
line-height: 28px;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -159,7 +159,7 @@
|
|||||||
}
|
}
|
||||||
} else if (this.styleType == 2) {
|
} else if (this.styleType == 2) {
|
||||||
if (n) {
|
if (n) {
|
||||||
console.log(this.$parent.$parent)
|
//console.log(this.$parent.$parent)
|
||||||
this.metricOptions = this.$parent.$parent.$parent.getMetricOptions();
|
this.metricOptions = this.$parent.$parent.$parent.getMetricOptions();
|
||||||
} else {
|
} else {
|
||||||
this.metricOptions = [];
|
this.metricOptions = [];
|
||||||
|
|||||||
Reference in New Issue
Block a user