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