Sfoglia il codice sorgente

fix:query-list created #124

kokoroli 6 anni fa
parent
commit
ee0fce5ff4
1 ha cambiato i file con 1 aggiunte e 1 eliminazioni
  1. 1 1
      src/views/list/table/List.vue

+ 1 - 1
src/views/list/table/List.vue

@@ -62,7 +62,7 @@
     </div>
 
     <div class="table-operator">
-      <a-button type="primary" icon="plus" @click="$router.push({ name: 'QueryListEdit' })">新建</a-button>
+      <a-button type="primary" icon="plus" @click="handleEdit(record)">新建</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">