dev
阿丽 3 years ago
parent a3ec4a5dfb
commit 1e3bc9d507

@ -48,6 +48,7 @@
</template> </template>
<script> <script>
//
const columns = [ const columns = [
{ title: "名称", dataIndex: "name", width: 100, key: "1", align: "center" }, { title: "名称", dataIndex: "name", width: 100, key: "1", align: "center" },
{ {
@ -75,6 +76,7 @@ const columns = [
scopedSlots: { customRender: "action" }, scopedSlots: { customRender: "action" },
}, },
]; ];
//
const data = [ const data = [
{ {
key: '1', key: '1',
@ -86,6 +88,7 @@ const data = [
operation: '', operation: '',
}, },
]; ];
//
const treeData = [ const treeData = [
{ {
title: "广西印象物业服务有限公司", title: "广西印象物业服务有限公司",
@ -143,6 +146,7 @@ const treeData = [
], ],
}, },
]; ];
//
const rowSelection = { const rowSelection = {
onChange: (selectedRowKeys, selectedRows) => { onChange: (selectedRowKeys, selectedRows) => {
console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows); console.log(`selectedRowKeys: ${selectedRowKeys}`, 'selectedRows: ', selectedRows);

Loading…
Cancel
Save