@@ -550,7 +550,7 @@ export default {
},
methods: {
checkParam() {
- var reg = /^0$|^[1-9][0-9]$/;
+ var reg = /(^0$)|(^[1-9][0-9]*$)/;
if (this.form.switchScreenCountStart) {
if (!reg.test(this.form.switchScreenCountStart)) {
this.$notify({
@@ -644,7 +644,7 @@ export default {