第一种用axios发送请求到后台,需要后台配合,才能在表格里面渲染页面;想偷懒的小伙建议去直接粘贴复制第三种
搜索:
border
ref="multipleTable"
:data="tables"
tooltip-effect="dark"
style="width: 100%"
@selection-change="handleSelectionChange">
type="selection"
width="55">
prop="lid"
label="数量"
width="120">
prop="lname"
label="名称"
width="120">
prop="price"
label="价格"
show-overflow-tooltip>
size="mini"
round class='el-icon-edit