You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

33 lines
544 B
Plaintext

11 months ago
/*
1. beforeSave、beforeSend、 beforeReturn、 beforeDelete
2 .MyFlowGener、MyFlowTree的固定方法禁止删除
3.主要写保存前、发送前、退回前、删除前事件
4.返回值为 true、false
*/
//保存前事件
function beforeSave() {
return true;
}
//发生前事件
function beforeSend() {
return true;
}
//退回前事件
function beforeReturn() {
return true;
}
//删除前事件
function beforeDelete() {
return true;
}
export{
beforeSave,
beforeSend,
beforeReturn,
beforeDelete
}