MrShi
2024-04-02 22271e641e4505ba906c3770905b7e84e3ad8d85
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();