mirror of https://github.com/vuejs/core.git
chore: add comment
This commit is contained in:
parent
059b3cbd17
commit
637409af75
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue