修改
This commit is contained in:
@ -271,8 +271,10 @@ class Submerge extends Tools {
|
||||
that.options.waterVolume = Math.floor(value * 10000) / 10000;
|
||||
|
||||
if (that.area) {
|
||||
|
||||
that.waterLevel = Number((that.options.waterVolume / that.area).toFixed(4))
|
||||
that.options.maxWaterLevel = that.options.minWaterLevel + that.waterLevel
|
||||
console.log(that.options.minWaterLevel, that.options.minWaterLevel, 'klklklkl')
|
||||
that.options.maxWaterLevel = Math.floor((that.options.minWaterLevel) * 10000) / 10000 + Math.floor((that.options.minWaterLevel) * 10000) / 10000
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user