Skip to content

Commit 75701a8

Browse files
committed
fix: selectedRowKeys length = 0 condition err
1 parent 6ca1655 commit 75701a8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/views/list/TableList.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@
6363

6464
<div class="table-operator">
6565
<a-button type="primary" icon="plus" v-action:add>新建</a-button>
66-
<a-dropdown v-action:edit && selectedRowKeys.length > 0">
66+
<a-dropdown v-action:edit v-if="selectedRowKeys.length > 0">
6767
<a-menu slot="overlay">
6868
<a-menu-item key="1"><a-icon type="delete" />删除</a-menu-item>
6969
<!-- lock | unlock -->

0 commit comments

Comments
 (0)