|
@@ -28,6 +28,10 @@ const props = defineProps({
|
|
|
type: Array,
|
|
|
default: [] as Array<number>,
|
|
|
},
|
|
|
+ dataMax: {
|
|
|
+ type: Number,
|
|
|
+ default: 10,
|
|
|
+ },
|
|
|
});
|
|
|
/**
|
|
|
* 配置项
|
|
@@ -73,7 +77,7 @@ const options = {
|
|
|
name: "人数",
|
|
|
show: true,
|
|
|
min: 0,
|
|
|
- max: 18,
|
|
|
+ max: Math.ceil(props.dataMax / 6) * 6,
|
|
|
boundaryGap: true,
|
|
|
axisLine: {
|
|
|
show: true,
|