修改bug

This commit is contained in:
‘937886381’
2024-04-23 15:09:07 +08:00
parent b6cf7b2ddc
commit becf34d089
7 changed files with 158 additions and 41 deletions

View File

@@ -2,7 +2,7 @@
<!--
* @Author: zhp
* @Date: 2023-09-21 09:06:28
* @LastEditTime: 2024-04-22 09:36:58
* @LastEditTime: 2024-04-23 14:04:24
* @LastEditors: zhp
* @Description:
-->
@@ -266,12 +266,9 @@ export default {
// },
},
{
min: function() { // 取最小值向下取整为最小刻度
return 0
},
max: function(value) { // 取最大值向上取整为最大刻度
return Math.ceil(value.max)
},
min: 0,
max: 100000,
minInterval: 5,//间隔
scale: true,
type: 'value',
name: '产量/㎡', // y轴上方的单位

View File

@@ -1,7 +1,7 @@
<!--
* @Author: zhp
* @Date: 2023-09-21 09:06:28
* @LastEditTime: 2024-04-16 13:37:38
* @LastEditTime: 2024-04-23 14:06:05
* @LastEditors: zhp
* @Description:
-->
@@ -265,12 +265,9 @@ export default {
// },
},
{
// min: function() { // 取最小值向下取整为最小刻度
// return 0
// },
// max: function(value) { // 取最大值向上取整为最大刻度
// return Math.ceil(value.max)
// },
min: 0,
max: 100000,
minInterval: 5,//间隔
scale: true,
type: 'value',
name: '产量/片', // y轴上方的单位