修改前台添加和删除和表单校验

master
lwj 2024-08-24 22:31:36 +08:00
parent 678dc9420c
commit c97d580d1f
1 changed files with 0 additions and 4 deletions

View File

@ -351,8 +351,6 @@ export default {
}) })
}, },
addSource(){ addSource(){
this.$refs["sourceAddReq"].validate(valid => {
if (valid){
if (this.sourceAddReq.id!=undefined){ if (this.sourceAddReq.id!=undefined){
update(this.sourceAddReq).then(res=>{ update(this.sourceAddReq).then(res=>{
if (res.code===200){ if (res.code===200){
@ -368,8 +366,6 @@ export default {
} }
}) })
} }
}
});
}, },
// //
textConnect(row){ textConnect(row){