Browse Source

Tolerance input only enters numbers

tags/v1.1.0
fengxuefeng 5 years ago
parent
commit
e95aab6c78
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      mindinsight/ui/src/mixins/debuggerMixin.vue

+ 1
- 0
mindinsight/ui/src/mixins/debuggerMixin.vue View File

@@ -8,6 +8,7 @@ export default {
toleranceValueChange(val) {
val = val.replace(/[^0-9]+/g, '');
if (Number(val) === 0) {
this.toleranceInput = 0;
this.tolerance = 0;
}
if (Number(val) < 0) {


Loading…
Cancel
Save