fixed: 修复自动化代码form模板,find接口调整未调整完全 (#1790)
Co-authored-by: wall-js <wall_js@foxmail.com>
This commit is contained in:
parent
8f1692e394
commit
d6703e82e2
|
@ -176,7 +176,7 @@ const init = async () => {
|
||||||
if (route.query.id) {
|
if (route.query.id) {
|
||||||
const res = await find{{.StructName}}({ ID: route.query.id })
|
const res = await find{{.StructName}}({ ID: route.query.id })
|
||||||
if (res.code === 0) {
|
if (res.code === 0) {
|
||||||
formData.value = res.data.re{{.Abbreviation}}
|
formData.value = res.data
|
||||||
type.value = 'update'
|
type.value = 'update'
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in New Issue