表格错位问题
... 2022-4-25 Less than 1 minute
Tips
如果表格出现错位问题,是fixed冻结列导致的,去掉冻结列即可,或者表格初始化
配置indexFixed
,selectionFixed
,expandFixed
可以配置序号,多选,面板是否为冻结
<avue-crud :data="data" :option="option" ></avue-crud>
<script>
export default {
data() {
return {
data: [
{
id:1,
name:'张三',
sex:'男'
}, {
id:2,
name:'李四',
sex:'女'
}
],
option:{
index:true,
indexFixed:false,
// indexWidth:100,
selection:true,
// selectionWidth:100,
selectionFixed:false,
expand:true,
// expandWidth:100,
expandFixed:false,
align:'center',
menuFixed:false,
menuAlign:'center',
column:[
{
label:'姓名',
prop:'name'
}, {
width:500,
label:'性别',
prop:'sex'
}
]
},
};
}
}
</script>
This app can be installed on your PC or mobile device. This will allow this web app to look and behave like any other installed app. You will find it in your app lists and be able to pin it to your home screen, start menus or task bars. This installed web app will also be able to safely interact with other apps and your operating system.