1

Vue父组件引入子组件也可以这样

components: { // representativeList,representativeExamination,representativeAppeal
            'representative-list': () => import('./components/representativeList'), // 代表队列表
            'representative-examination': () => import('./components/representativeExamination'), // 代表队审核
            'representative-appeal': () => import('./components/representativeAppeal'), // 代表队申诉
        },

HappyCodingTop
526 声望847 粉丝

Talk is cheap, show the code!!