@@ -206,7 +206,9 @@ export default {
type: 'value',
name: '学时',
nameTextStyle: { fontSize: 11, color: '#aaa', padding: [0, 30, 0, 0] },
- max: 350,
+ max: (value) => {
+ return Math.ceil(value.max / 50) * 50
+ },
interval: 50,
splitLine: { lineStyle: { color: '#f0f0f0' } },
axisLabel: { fontSize: 11, color: '#aaa' },