Skip to content
This repository was archived by the owner on May 12, 2020. It is now read-only.

Commit 7444300

Browse files
committed
feat(layout/material): add layout placeholder
1 parent 10f3901 commit 7444300

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

src/layout/Material.vue

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,11 @@
1010
@click="onLogout"
1111
>Logout</el-button>
1212
</el-header>
13-
<router-view class="layout__material__placeholder-main"/>
13+
14+
<el-main class="layout__material__placeholder-main">
15+
<router-view/>
16+
</el-main>
17+
1418
<el-footer class="layout__material__footer">
1519
Copyright &copy; {{currentYear}}
1620
</el-footer>
@@ -20,10 +24,6 @@
2024

2125
<script>
2226
export default {
23-
data () {
24-
return {}
25-
},
26-
2727
methods: {
2828
onLogout () {
2929
this.$store.dispatch('login/userLogout')

0 commit comments

Comments
 (0)