Commit e107eeb2 by kokoroli

fix:remove arguments #124

parent ee0fce5f
......@@ -31,7 +31,7 @@ export default {
},
methods: {
handleEdit (record) {
this.record = record
this.record = record || ''
this.currentComponet = 'Edit'
console.log(record)
},
......
......@@ -62,7 +62,7 @@
</div>
<div class="table-operator">
<a-button type="primary" icon="plus" @click="handleEdit(record)">新建</a-button>
<a-button type="primary" icon="plus" @click="handleEdit()">新建</a-button>
<a-button type="dashed" @click="tableOption">{{ optionAlertShow && '关闭' || '开启' }} alert</a-button>
<a-dropdown v-action:edit v-if="selectedRowKeys.length > 0">
<a-menu slot="overlay">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment