feature: 调整自动化代码web模板

This commit is contained in:
pixelmaxQM
2024-07-21 21:58:23 +08:00
parent 01f6814a25
commit ac374bab22
3 changed files with 4 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ import {
create{{.StructName}},
update{{.StructName}},
find{{.StructName}}
} from '@/plugin/{{.Package}}/api/{{.Abbreviation}}'
} from '@/plugin/{{.Package}}/api/{{.PackageName}}'
defineOptions({
name: '{{.StructName}}Form'

View File

@@ -363,7 +363,7 @@ import {
update{{.StructName}},
find{{.StructName}},
get{{.StructName}}List
} from '@/plugin/{{.Package}}/api/{{.Abbreviation}}'
} from '@/plugin/{{.Package}}/api/{{.PackageName}}'
{{- if or .HasPic .HasFile}}
import { getUrl } from '@/utils/image'