is
- 预期:
string | Object(component’s options object)
使用动态组件。
<!-- component changes when currentView changes --> <component :is="currentView"></component>
string | Object(component’s options object)
使用动态组件。
<!-- component changes when currentView changes --> <component :is="currentView"></component>
下篇:key