Parcourir la source

chore: add comment

daiwei il y a 1 an
Parent
commit
637409af75
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  1. 1 0
      packages/server-renderer/src/render.ts

+ 1 - 0
packages/server-renderer/src/render.ts

@@ -191,6 +191,7 @@ function renderComponentSubTree(
       }
       }
 
 
       if (vShowValue) {
       if (vShowValue) {
+        // v-show has higher priority
         if (attrs) attrs = mergeProps(attrs, vShowValue)
         if (attrs) attrs = mergeProps(attrs, vShowValue)
         else attrs = vShowValue
         else attrs = vShowValue
       }
       }