2
0
Эх сурвалжийг харах

chore(hydration): reuse existing variable (#13412)

skirtle 11 сар өмнө
parent
commit
e53a4ffbe0

+ 1 - 1
packages/runtime-core/src/hydration.ts

@@ -997,6 +997,6 @@ function isMismatchAllowed(
     if (allowedType === MismatchTypes.TEXT && list.includes('children')) {
       return true
     }
-    return allowedAttr.split(',').includes(MismatchTypeString[allowedType])
+    return list.includes(MismatchTypeString[allowedType])
   }
 }