修改前台添加和删除和表单校验
parent
678dc9420c
commit
c97d580d1f
|
@ -351,8 +351,6 @@ export default {
|
|||
})
|
||||
},
|
||||
addSource(){
|
||||
this.$refs["sourceAddReq"].validate(valid => {
|
||||
if (valid){
|
||||
if (this.sourceAddReq.id!=undefined){
|
||||
update(this.sourceAddReq).then(res=>{
|
||||
if (res.code===200){
|
||||
|
@ -368,8 +366,6 @@ export default {
|
|||
}
|
||||
})
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
//测试连接
|
||||
textConnect(row){
|
||||
|
|
Loading…
Reference in New Issue