]> git.ipfire.org Git - thirdparty/vuejs/core.git/commitdiff
chore: add comment
authordaiwei <daiwei521@126.com>
Mon, 9 Dec 2024 13:37:58 +0000 (21:37 +0800)
committerdaiwei <daiwei521@126.com>
Mon, 9 Dec 2024 13:37:58 +0000 (21:37 +0800)
packages/server-renderer/src/render.ts

index 5ecf4985b4691453805d6bbe6f3c58aa99ff9edc..e34072e24221a4e6b4270c9b14de99b6d28f5cef 100644 (file)
@@ -191,6 +191,7 @@ function renderComponentSubTree(
       }
 
       if (vShowValue) {
+        // v-show has higher priority
         if (attrs) attrs = mergeProps(attrs, vShowValue)
         else attrs = vShowValue
       }