• 首页
  • vue
  • TypeScript
  • JavaScript
  • scss
  • css3
  • html5
  • php
  • MySQL
  • redis
  • jQuery
  • is

    • 预期:string | Object(component’s options object)

    使用动态组件。


    <!-- component changes when currentView changes -->
    <component :is="currentView"></component>
    


    下篇:key