meteor vue项目想在登录页面不显示Layout这个布局应该怎么改?
Meteor.startup(() => {
// Start the router
const router = routerFactory.create();
new Vue({
router,
store,
render: h => h(Layout),
}).$mount('#app');
});
Layout页面
<template>
<el-container>
<el-header class="header">
<div class="title-bar">
<el-row type="flex" align="middle">
<el-col :span="6"><span class="title-pro">医学影像智能服务平台</span></el-col>
<el-col :span="4" :offset="14" class="user-info">
<i class="el-icon-question"></i>
<span>帮助</span>
<div class="icon"><img src="" alt=""></div>
<span>admin</span>
</el-col>
</el-row>
</div>
</el-header>
<el-main class="main">
<router-view></router-view>
</el-main>
</el-container>
</template>