src/views/tigerprojects/system/dept/index.vue
@@ -2,7 +2,7 @@ <div> <BasicTable @register="registerTable"> <template #toolbar> <a-button type="primary" @click="handleCreate"> 新增组织 </a-button> <a-button type="primary" @click="handleCreate" preIcon="add_02|svg"> 新增 </a-button> </template> <template #action="{ record }"> <TableAction @@ -10,6 +10,7 @@ { icon: 'clarity:note-edit-line', onClick: handleEdit.bind(null, record), name: '' }, { icon: 'ant-design:delete-outlined', @@ -19,6 +20,7 @@ placement: 'left', confirm: handleDelete.bind(null, record), }, name: '' }, ]" />