修改时间选择条件

master
夜笙歌 2 years ago
parent d08b504d08
commit ca8981d32c

@ -102,6 +102,13 @@ const outerTireNumberNow = ref('')
const rules = { const rules = {
outerTireNumber: { required: true, message: '请输入外胎号', trigger: 'blur' }, outerTireNumber: { required: true, message: '请输入外胎号', trigger: 'blur' },
time: {validator :(rule,value,callback)=>{
if(dateRange.value.length !== 2){
callback(new Error("请选择时间"))
}else{
callback()
}
}, message: '请选择时间', trigger: 'blur' },
} }
// //

Loading…
Cancel
Save