Commit 15e66568 authored by 张伯涛's avatar 张伯涛

抽屉的table列表高度修改

parent 424201fa
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<div style="padding: 20px;"> <div class="el_drawerTable">
<el-table v-loading="loading" :data="tableData" style="width: 100%"> <el-table v-loading="loading" :data="tableData" style="width: 100%">
<el-table-column type="index" width="70" label="序号" align="center"> <el-table-column type="index" width="70" label="序号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -126,4 +126,12 @@ export default { ...@@ -126,4 +126,12 @@ export default {
} }
} }
</script> </script>
<style></style> <style lang="scss" scoped>
.el_drawerTable{
padding: 20px;
.el-table{
max-height: 630px;
overflow: auto;
}
}
</style>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<div style="padding: 20px;"> <div class="el_drawerTable">
<el-table :data="tableData" v-loading="loading" style="width: 100%"> <el-table :data="tableData" v-loading="loading" style="width: 100%">
<el-table-column type="index" width="70" label="序号" align="center"> <el-table-column type="index" width="70" label="序号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -115,4 +115,12 @@ export default { ...@@ -115,4 +115,12 @@ export default {
} }
} }
</script> </script>
<style></style> <style lang="scss" scoped>
.el_drawerTable{
padding: 20px;
.el-table{
max-height: 630px;
overflow: auto;
}
}
</style>
...@@ -20,7 +20,7 @@ ...@@ -20,7 +20,7 @@
</div> </div>
</el-col> </el-col>
</el-row> </el-row>
<div style="padding: 20px;"> <div class="el_drawerTable">
<el-table :data="tableData" v-loading="loading" style="width: 100%"> <el-table :data="tableData" v-loading="loading" style="width: 100%">
<el-table-column type="index" width="70" label="序号" align="center"> <el-table-column type="index" width="70" label="序号" align="center">
<template slot-scope="scope"> <template slot-scope="scope">
...@@ -116,4 +116,12 @@ export default { ...@@ -116,4 +116,12 @@ export default {
} }
} }
</script> </script>
<style></style> <style lang="scss" scoped>
.el_drawerTable{
padding: 20px;
.el-table{
max-height: 630px;
overflow: auto;
}
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment