add 新增

This commit is contained in:
ls
2025-12-30 15:07:08 +08:00
parent 21717f533f
commit e939b587bf
17 changed files with 598 additions and 249 deletions

View File

@@ -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
}