|
@@ -100,7 +100,11 @@ class _AlsVelItemButtonState extends FState<AlsVelItemButton> {
|
|
|
if (doubleValue == null) {
|
|
|
PromptBox.toast("请输入正确的Als.Vel数值");
|
|
|
} else {
|
|
|
- _customAlsVelValue = doubleValue;
|
|
|
+ if (doubleValue < 0) {
|
|
|
+ PromptBox.toast("Als.Vel必须大于0");
|
|
|
+ } else {
|
|
|
+ _customAlsVelValue = doubleValue;
|
|
|
+ }
|
|
|
}
|
|
|
},
|
|
|
);
|