fix(schema): resolve ssr (#7359)

This commit is contained in:
Daniel Roe 2022-09-08 15:15:33 +01:00 committed by GitHub
parent 2b37d72eb9
commit d81a742311
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -199,7 +199,9 @@ export default defineUntypedSchema({
* @version 2
* @version 3
*/
ssr: true,
ssr: {
$resolve: (val) => val ?? true,
},
/**
* @deprecated use `ssr` option