el-form-item label=规格属性 prop=categoryId div class=w-md !-- el-input v-model=formDatacategoryId placeholder=表格????? -- el-table ref=dat
要取消表格的滑块功能,你可以通过设置max-height属性来限制表格的高度,使其显示整张表格而不出现滑块。将下面的代码添加到 <el-table> 标签上即可:
<el-table ref="dataTableRef2" v-loading="loading" :data="SpecsList2" style="max-height: none;">
将 max-height 设置为 none,表示没有最大高度限制,这样就能直接显示整张表格。
原文地址: https://www.cveoy.top/t/topic/iiRT 著作权归作者所有。请勿转载和采集!