export default { ... }
是以下定义组件的简写
const xxx = Vue.extend({ ... })
export default xxx //将xxx组件暴露出去 方便以后组件复用
额外:
export default => 默认暴露 引入的时候 直接使用 import xxx from ....
export aaa => 指定暴露 引入的时候 需要使用 {} 包裹 import { aaa } from ....