<a-table :columns="columns" :dataSource="list" :pagination="pagination" :loading="loading"
:customRow="click" @change="handleTableChange" rowKey="Id">
</a-table>
click(record) {
return {
on: {
click: () => {
this.$router.push({
path: "/system/materialDetail",
query: {goodsID: record.goodsID, edit: "false"}
});
}
}
};
},
网友评论