# Conflicts:
#	yudao-framework/yudao-spring-boot-starter-web/src/main/java/cn/iocoder/yudao/framework/web/config/YudaoWebAutoConfiguration.java
This commit is contained in:
YunaiV
2025-11-21 20:04:46 +08:00
10 changed files with 72 additions and 33 deletions

View File

@@ -353,7 +353,9 @@ const handleDelete = async (id: number) => {
// 发起删除
await ${simpleClassName}Api.delete${simpleClassName}(id)
message.success(t('common.delSuccess'))
#if ( $table.templateType == 11 )
currentRow.value = {}
#end
// 刷新列表
await getList()
} catch {}

View File

@@ -114,6 +114,7 @@ export function useFormSchema(): VbenFormSchema[] {
showTime: true,
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
class: '!w-full',
},
#elseif($column.htmlType == "textarea")## 文本域
component: 'Textarea',
@@ -317,6 +318,7 @@ export function use${subSimpleClassName}FormSchema(): VbenFormSchema[] {
showTime: true,
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
class: '!w-full',
},
#elseif($column.htmlType == "textarea")## 文本域
component: 'Textarea',
@@ -552,6 +554,7 @@ export function use${subSimpleClassName}GridColumns(): VxeTableGridOptions<${api
showTime: true,
format: 'YYYY-MM-DD HH:mm:ss',
valueFormat: 'x',
class: '!w-full',
},
#elseif($column.htmlType == "textarea")## 文本域
component: 'Textarea',