refactor: 代码生成表单支持隐藏域

This commit is contained in:
Ray.Hao
2025-01-02 01:10:22 +08:00
parent 82b8e101a2
commit bdabe6c997
3 changed files with 29 additions and 13 deletions

View File

@@ -14,8 +14,8 @@ const ${entityName}API = {
/**
* 获取${businessName}表单数据
*
* @param id ${entityName}ID
* @returns ${entityName}表单数据
* @param id ${businessName}ID
* @returns ${businessName}表单数据
*/
getFormData(id: number) {
return request<any, ${entityName}Form>({
@@ -36,8 +36,8 @@ const ${entityName}API = {
/**
* 更新${businessName}
*
* @param id ${entityName}ID
* @param data ${entityName}表单数据
* @param id ${businessName}ID
* @param data ${businessName}表单数据
*/
update(id: number, data: ${entityName}Form) {
return request({