优化vue代码生成模板子表验证提示信息
This commit is contained in:
@@ -545,7 +545,7 @@ for (c in table.columnList){
|
||||
});
|
||||
}
|
||||
if (!${@StringUtils.uncap(child.className)}ListValid) {
|
||||
throw new Error('${@StringUtils.uncap(child.className)}List valid.');
|
||||
throw { errorFields: [{ name: ['${@StringUtils.uncap(child.className)}List'] }] };
|
||||
}
|
||||
return ${@StringUtils.uncap(child.className)}List;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user