MrShi
2024-03-28 e2bc832dedd3a54d770526786e4db30470e0f57b
company/src/components/business/OperaSolutionsWindow.vue
@@ -154,7 +154,7 @@
            var validType = (rule, value, callback) => {
                if (this.form.validType === 0 && !value) {
                    return callback(new Error('延迟天数不能为空'));
                } else if (!/^[0-9]*[1-9][0-9]*$/.test(value)) {
                } else if (this.form.validType === 0 && !/^[0-9]*[1-9][0-9]*$/.test(value)) {
                    return callback(new Error('延迟天数只能为正整数'));
                }
                callback();