We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ee0fce5 commit e107eebCopy full SHA for e107eeb
src/views/list/TableList.vue
@@ -31,7 +31,7 @@ export default {
31
},
32
methods: {
33
handleEdit (record) {
34
- this.record = record
+ this.record = record || ''
35
this.currentComponet = 'Edit'
36
console.log(record)
37
src/views/list/table/List.vue
@@ -62,7 +62,7 @@
62
</div>
63
64
<div class="table-operator">
65
- <a-button type="primary" icon="plus" @click="handleEdit(record)">新建</a-button>
+ <a-button type="primary" icon="plus" @click="handleEdit()">新建</a-button>
66
<a-button type="dashed" @click="tableOption">{{ optionAlertShow && '关闭' || '开启' }} alert</a-button>
67
<a-dropdown v-action:edit v-if="selectedRowKeys.length > 0">
68
<a-menu slot="overlay">
0 commit comments