增加BPMN数据校验

This commit is contained in:
yunlong.li 2021-11-18 18:29:09 +08:00
parent a829e8d083
commit bab046f10c
2 changed files with 10 additions and 2 deletions

View File

@ -77,6 +77,10 @@ export default {
},
methods: {
commitForm(){
if (!this.form.class || this.form.class === "" ) {
this.msgError("class不能为空");
return;
}
const from = this.form
const filterArr = this.listenerTable.filter(
(item) => (item.event === from.event && from.type === item.type && from.class === item.class)

View File

@ -69,6 +69,10 @@ export default {
},
methods: {
commitForm(){
if (!this.formData.class || this.formData.class === "" ) {
this.msgError("class不能为空");
return;
}
const from = this.formData;
// class 退
const filterArr = this.globalFormTable.filter(