Skip to content

Commit 439e1a5

Browse files
authored
fix(hydration): also set vShow name if __FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__ flag is enabled (#13777)
close #13744
1 parent 7420564 commit 439e1a5

File tree

1 file changed

+1
-1
lines changed
  • packages/runtime-dom/src/directives

1 file changed

+1
-1
lines changed

packages/runtime-dom/src/directives/vShow.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const vShow: ObjectDirective<VShowElement> & { name?: 'show' } = {
4545
},
4646
}
4747

48-
if (__DEV__) {
48+
if (__DEV__ || __FEATURE_PROD_HYDRATION_MISMATCH_DETAILS__) {
4949
vShow.name = 'show'
5050
}
5151

0 commit comments

Comments
 (0)