Browse Source

buf修改

dengrui 9 months ago
parent
commit
4b5418565a

+ 3 - 0
src/views/report/statistics/screens/quality/index.vue

@@ -220,6 +220,7 @@ const option1 = {
     axisLabel: {
     axisLabel: {
       fontSize: 12,
       fontSize: 12,
     },
     },
+    minInterval: 1,
   },
   },
   series: [
   series: [
     {
     {
@@ -267,6 +268,7 @@ const option2 = {
     axisLabel: {
     axisLabel: {
       fontSize: 12,
       fontSize: 12,
     },
     },
+    minInterval: 1,
   },
   },
   textStyle: {
   textStyle: {
     fontSize: 999,
     fontSize: 999,
@@ -305,6 +307,7 @@ const option3 = {
     axisLabel: {
     axisLabel: {
       fontSize: 12,
       fontSize: 12,
     },
     },
+    minInterval: 1,
   },
   },
   grid: {
   grid: {
     left: "18%",
     left: "18%",

+ 5 - 0
src/views/report/statistics/screens/tasks/index.vue

@@ -535,6 +535,11 @@ onUnmounted(() => {
           color: #fff9;
           color: #fff9;
           line-height: 2vh;
           line-height: 2vh;
           margin-top: 1vh;
           margin-top: 1vh;
+          display: -webkit-box;
+          -webkit-line-clamp: 2; /* 限制为两行 */
+          -webkit-box-orient: vertical;
+          overflow: hidden;
+          text-overflow: ellipsis;
         }
         }
 
 
         .com-num {
         .com-num {