fix(hydration): also set vShow name if __FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__ flag is enabled (#13777)

close #13744
This commit is contained in:
edison 2025-08-20 20:41:07 +08:00 committed by GitHub
parent 7420564b20
commit 439e1a543e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions

View File

@ -45,7 +45,7 @@ export const vShow: ObjectDirective<VShowElement> & { name?: 'show' } = {
}, },
} }
if (__DEV__) { if (__DEV__ || __FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__) {
vShow.name = 'show' vShow.name = 'show'
} }