|
@@ -2,23 +2,19 @@
|
|
|
* @Author: WangJiaCheng
|
|
|
* @Date: 2021-05-06 17:24:30
|
|
|
* @LastEditors: wjc
|
|
|
- * @LastEditTime: 2021-09-18 09:37:37
|
|
|
+ * @LastEditTime: 2021-09-24 11:00:05
|
|
|
* @Description:
|
|
|
-->
|
|
|
<template>
|
|
|
- <el-container class="default-layout">
|
|
|
- <el-container class="is-vertical">
|
|
|
- <default-header />
|
|
|
- <el-main class="layout-main">
|
|
|
- <!-- <default-side /> -->
|
|
|
- <div style="width: 100%">
|
|
|
- <keep-alive>
|
|
|
- <router-view :key="$route.fullPath" />
|
|
|
- </keep-alive>
|
|
|
- </div>
|
|
|
- </el-main>
|
|
|
- </el-container>
|
|
|
- </el-container>
|
|
|
+ <div class="default-layout">
|
|
|
+ <default-header />
|
|
|
+ <div class="layout-main">
|
|
|
+ <!-- <default-side /> -->
|
|
|
+ <keep-alive>
|
|
|
+ <router-view :key="$route.fullPath" />
|
|
|
+ </keep-alive>
|
|
|
+ </div>
|
|
|
+ </div>
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
@@ -31,13 +27,7 @@ export default {
|
|
|
DefaultSide
|
|
|
},
|
|
|
data() {
|
|
|
- const item = {
|
|
|
- date: '2016-05-02',
|
|
|
- name: '王小虎',
|
|
|
- address: '上海市普陀区金沙江路 1518 弄'
|
|
|
- }
|
|
|
return {
|
|
|
- tableData: Array(20).fill(item)
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -56,7 +46,8 @@ export default {
|
|
|
width: 100%;
|
|
|
display: flex;
|
|
|
justify-content: space-between;
|
|
|
- /* height: calc(100% - 60px); */
|
|
|
+ height: calc(100% - 60px);
|
|
|
+ overflow: scroll;
|
|
|
padding: 0;
|
|
|
background: #fff;
|
|
|
}
|