Commit 83d6e4e0 authored by Davve's avatar Davve

增加判断

parent cbc198bf
......@@ -273,13 +273,16 @@ export default {
}
if (!length){
this.$message.error('请先勾选帖子ID,再进行后续操作.....')
return false
}
if (!this.select_start_time || !this.select_end_time){
this.$message.error('起始时间或者结束时间不能为空.....')
return false
}
if (this.select_start_time > this.select_end_time){
this.$message.error('起始时间不能小于结束时间.....')
return false
}
extra_info['start_time'] = this.select_start_time
extra_info['end_time'] = this.select_end_time
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment