This commit is contained in:
Zhong 2025-06-18 21:22:17 +08:00 committed by GitHub
commit 6f70cc2b29
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ export function processDefineModel(
return true
}
export function genModelProps(ctx: ScriptCompileContext) {
export function genModelProps(ctx: ScriptCompileContext): string | undefined {
if (!ctx.hasDefineModelCall) return
const isProd = !!ctx.options.isProd