Commit 674fd9c9 by Sweet Zhang

兼容小屏

parent 0330fa6e
......@@ -10,7 +10,7 @@
</el-col>
</el-row>
<el-table
height="600"
height="70%"
:data="tableData"
:span-method="objectSpanMethod"
border
......@@ -53,7 +53,7 @@
:close-on-click-modal="false"
>
<!-- 表格数据 -->
<el-table v-loading="settingLoading" :data="settingList" border ref="settingTableRef">
<el-table v-loading="settingLoading" :data="settingList" border ref="settingTableRef" height="75%">
<el-table-column
label="序号 "
width="55"
......
......@@ -7,7 +7,7 @@
</div>
</el-col>
</el-row>
<el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%; margin-top: 20px" height="600"
<el-table :data="tableData" :span-method="objectSpanMethod" border style="width: 100%; margin-top: 20px" height="70%"
row-key="rowKey">
<!-- 动态生成所有列 -->
<template v-for="column in tableColumns" :key="column.prop">
......
......@@ -19,7 +19,7 @@
</el-form>
<!-- 表格数据 -->
<el-table v-loading="loading" :data="tableList" height="600">
<el-table v-loading="loading" :data="tableList">
<el-table-column label="商品图片" align="center" prop="mainUrls" width="150">
<template #default="scope">
<el-image
......
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