@@ -220,6 +220,7 @@ const option1 = {
axisLabel: {
fontSize: 12,
},
+ minInterval: 1,
series: [
{
@@ -267,6 +268,7 @@ const option2 = {
textStyle: {
fontSize: 999,
@@ -305,6 +307,7 @@ const option3 = {
grid: {
left: "18%",
@@ -535,6 +535,11 @@ onUnmounted(() => {
color: #fff9;
line-height: 2vh;
margin-top: 1vh;
+ display: -webkit-box;
+ -webkit-line-clamp: 2; /* 限制为两行 */
+ -webkit-box-orient: vertical;
+ overflow: hidden;
+ text-overflow: ellipsis;
}
.com-num {