فهرست منبع

fix: selectedRowKeys length = 0 condition err

Sendya 6 سال پیش
والد
کامیت
75701a83a0
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      src/views/list/TableList.vue

+ 1 - 1
src/views/list/TableList.vue

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