@cloudbase/weda-ui-mp 3.11.1 → 3.11.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -45,7 +45,7 @@ class EchartBar extends EchartBase {
|
|
|
45
45
|
const arrXisCountEmptyIndex = []; // 记录空值的key
|
|
46
46
|
this.config.series = [];
|
|
47
47
|
|
|
48
|
-
if (
|
|
48
|
+
if (!groupKey?.name) {
|
|
49
49
|
// 没有分组
|
|
50
50
|
if (sortedXAxisData.length > 0) {
|
|
51
51
|
const numLine = arrSourData[0].YLabels.length;
|
|
@@ -83,7 +83,7 @@ class EchartBar extends EchartBase {
|
|
|
83
83
|
}
|
|
84
84
|
// 处理显示空值问题
|
|
85
85
|
this.setEmptyValue(xIsCountEmpty);
|
|
86
|
-
} else if (groupKey) {
|
|
86
|
+
} else if (groupKey?.name) {
|
|
87
87
|
// 如果是分组,则这里需要特殊处理
|
|
88
88
|
// 按groupKey分组存放数据值
|
|
89
89
|
const objGroupKey = {}; // {'分组字段':[{value:'统计的值', dimensionality:'维度名', name:'统计的数值字段名'}]}
|
|
@@ -46,7 +46,7 @@ class EchartLine extends EchartBase {
|
|
|
46
46
|
const arrXisCountEmptyIndex = []; // 记录空值的key
|
|
47
47
|
this.config.series = [];
|
|
48
48
|
|
|
49
|
-
if (
|
|
49
|
+
if (!groupKey?.name) {
|
|
50
50
|
if (sortedXAxisData.length > 0) {
|
|
51
51
|
const numLine = arrSourData[0].YLabels.length;
|
|
52
52
|
if (numLine > 0) {
|
|
@@ -83,7 +83,7 @@ class EchartLine extends EchartBase {
|
|
|
83
83
|
}
|
|
84
84
|
// 处理显示空值问题
|
|
85
85
|
this.setEmptyValue(xIsCountEmpty);
|
|
86
|
-
} else if (groupKey) {
|
|
86
|
+
} else if (groupKey?.name) {
|
|
87
87
|
// 如果是分组,则这里需要特殊处理
|
|
88
88
|
// 按groupKey分组存放数据值
|
|
89
89
|
const objGroupKey = {}; // {'分组字段':[{value:'统计的值', dimensionality:'维度名', name:'统计的数值字段名'}]}
|
|
@@ -229,8 +229,8 @@
|
|
|
229
229
|
width: 50px;
|
|
230
230
|
right: -1px;
|
|
231
231
|
bottom: 0px;
|
|
232
|
-
height:
|
|
233
|
-
background: linear-gradient(
|
|
232
|
+
height: 50px;
|
|
233
|
+
background: linear-gradient(270deg, rgba(255, 255, 255, 0.8), hsla(0deg, 0%, 100%, 0));
|
|
234
234
|
}
|
|
235
235
|
.wd-tabs-h5-root .wd-tabs__item {
|
|
236
236
|
text-align: center;
|