cxmo 9 月之前
父節點
當前提交
07d1fa5128
共有 1 個文件被更改,包括 0 次插入19 次删除
  1. 0 19
      src/views/ppt_manage/mixins/mixins.js

+ 0 - 19
src/views/ppt_manage/mixins/mixins.js

@@ -1922,7 +1922,6 @@ export default {
             } = this.calcLimit(leftData.flat())
             this.leftLimitData = [Max, Min]
         } else {
-            this.leftIndex = -1
             this.leftLimitData = [0, 0]
         }
         if (rightData.length) {
@@ -1932,7 +1931,6 @@ export default {
             } = this.calcLimit(rightData.flat())
             this.rightLimitData = [Max, Min]
         } else {
-            this.rightIndex = -1
             this.rightLimitData = [0, 0]
         }
         if (rightTwoData.length) {
@@ -1942,25 +1940,8 @@ export default {
             } = this.calcLimit(rightTwoData.flat())
             this.rightTwoLimitData = [Max, Min]
         } else {
-            this.rightTwoIndex = -1
             this.rightTwoLimitData = [0, 0]
         }
-        console.table([{
-                'y轴': '左轴',
-                '最大值': this.leftLimitData[0],
-                '最小值': this.leftLimitData[1]
-            },
-            {
-                'y轴': '右轴',
-                '最大值': this.rightLimitData[0],
-                '最小值': this.rightLimitData[1]
-            },
-            {
-                'y轴': '右二轴',
-                '最大值': this.rightTwoLimitData[0],
-                '最小值': this.rightTwoLimitData[1]
-            }
-        ])
     },
     calcLimit(arr) {
         return {