Commit e56033d0 authored by 张俊's avatar 张俊

增加提示

parent 17657e51
......@@ -319,13 +319,19 @@ export default {
}
}
if(this.open1){
debugger
if(this.maxline1&&this.usetime1&&(this.timevalue!=='')){
}else{
this.$message.error('请输入所需参数')
if(!this.maxline1){
this.$message.error('请输入最大连接数')
return
}
if(!this.usetime1){
this.$message.error('请输入有效时间')
return
}
if(this.timevalue==''){
this.$message.error('请选择时间')
return
}
}
var temp = {
id:parseInt(this.$route.params.id),
......
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