add 新增
This commit is contained in:
@@ -317,9 +317,13 @@ function CRUD(options) {
|
||||
* 提交新增/编辑
|
||||
*/
|
||||
submitCU(formName) {
|
||||
debugger
|
||||
if (formName instanceof PointerEvent) {
|
||||
formName = 'form'
|
||||
}
|
||||
if (typeof formName !== 'string') {
|
||||
formName = 'form'
|
||||
}
|
||||
if (!callVmHook(crud, CRUD.HOOK.beforeValidateCU)) {
|
||||
return
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user