Skip to content

Commit

Permalink
fix:remove arguments umijs#124
Browse files Browse the repository at this point in the history
  • Loading branch information
kokoroli committed Mar 13, 2019
1 parent ee0fce5 commit e107eeb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/views/list/TableList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ export default {
},
methods: {
handleEdit (record) {
this.record = record
this.record = record || ''
this.currentComponet = 'Edit'
console.log(record)
},
Expand Down
2 changes: 1 addition & 1 deletion src/views/list/table/List.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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">
Expand Down

0 comments on commit e107eeb

Please sign in to comment.