|
@@ -194,7 +194,7 @@ Vue.directive("input-limit", {
|
|
e.target.dispatchEvent(new Event("input"))
|
|
e.target.dispatchEvent(new Event("input"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (binding.value == 4) {
|
|
|
|
|
|
+ if (binding.value == 2) {
|
|
if (wins_0.test(e.target.value.toString().replace(/\d+\.(\d*)/, '$1'))) {
|
|
if (wins_0.test(e.target.value.toString().replace(/\d+\.(\d*)/, '$1'))) {
|
|
remainder = true
|
|
remainder = true
|
|
}
|
|
}
|
|
@@ -222,7 +222,7 @@ Vue.directive("input-limit", {
|
|
e.target.dispatchEvent(new Event("input"))
|
|
e.target.dispatchEvent(new Event("input"))
|
|
}
|
|
}
|
|
}
|
|
}
|
|
- if (binding.value == 2) {
|
|
|
|
|
|
+ if (binding.value == 4) {
|
|
if (wins_0.test(e.target.value.toString().replace(/\d+\.(\d*)/, '$1'))) {
|
|
if (wins_0.test(e.target.value.toString().replace(/\d+\.(\d*)/, '$1'))) {
|
|
remainder = true
|
|
remainder = true
|
|
}
|
|
}
|