Open Javey opened 10 months ago
CodeSandbox
Description
var needsForceUpdate = !!( renderChildren || // has new static slots vm.$options._renderChildren || // has old static slots hasDynamicScopedSlot );
当Vue组件没有子元素,则needsForceUpdate会返回false
CodeSandbox
Description
当Vue组件没有子元素,则needsForceUpdate会返回false