fix(compile-sfc): generate setup prop type format error (#4506)
fix #4505
This commit is contained in:
@@ -623,7 +623,8 @@ export function compileScript(
|
||||
) +
|
||||
', '
|
||||
} else {
|
||||
res += scriptSetupSource.slice(m.start!, m.end!) + `, `
|
||||
res +=
|
||||
scriptSetupSource.slice(m.start!, m.typeAnnotation.end!) + `, `
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user