Showing
4 changed files
with
4 additions
and
3 deletions
@@ -6,7 +6,7 @@ | @@ -6,7 +6,7 @@ | ||
6 | @select="handleSelect" | 6 | @select="handleSelect" |
7 | ref="organizationIdTreeRef" | 7 | ref="organizationIdTreeRef" |
8 | /> | 8 | /> |
9 | - <BasicTable @register="registerTable" class="w-3/4 xl:w-4/5"> | 9 | + <BasicTable :clickToRowSelect="false" @register="registerTable" class="w-3/4 xl:w-4/5"> |
10 | <template #toolbar> | 10 | <template #toolbar> |
11 | <a-button type="primary" @click="handleCreate">新增账号</a-button> | 11 | <a-button type="primary" @click="handleCreate">新增账号</a-button> |
12 | <a-button | 12 | <a-button |
1 | <template> | 1 | <template> |
2 | <div> | 2 | <div> |
3 | - <BasicTable @register="registerTable"> | 3 | + <BasicTable :clickToRowSelect="false" @register="registerTable"> |
4 | <template #toolbar> | 4 | <template #toolbar> |
5 | <a-button type="primary" @click="handleCreate"> 新增字典 </a-button> | 5 | <a-button type="primary" @click="handleCreate"> 新增字典 </a-button> |
6 | <a-button color="error" @click="handleDeleteOrBatchDelete(null)" :disabled="hasBatchDelete"> | 6 | <a-button color="error" @click="handleDeleteOrBatchDelete(null)" :disabled="hasBatchDelete"> |
1 | <template> | 1 | <template> |
2 | <div class="p-4"> | 2 | <div class="p-4"> |
3 | - <BasicTable @register="registerTable" @fetch-success="onFetchSuccess"> | 3 | + <BasicTable :clickToRowSelect="false" @register="registerTable" @fetch-success="onFetchSuccess"> |
4 | <template #toolbar> | 4 | <template #toolbar> |
5 | <a-button type="primary" @click="handleCreate"> | 5 | <a-button type="primary" @click="handleCreate"> |
6 | {{ getI18n }} | 6 | {{ getI18n }} |
@@ -4,6 +4,7 @@ | @@ -4,6 +4,7 @@ | ||
4 | :rowSelection="{ type: 'checkbox' }" | 4 | :rowSelection="{ type: 'checkbox' }" |
5 | @selection-change="useSelectionChange" | 5 | @selection-change="useSelectionChange" |
6 | @register="registerTable" | 6 | @register="registerTable" |
7 | + :clickToRowSelect="false" | ||
7 | > | 8 | > |
8 | <template #toolbar> | 9 | <template #toolbar> |
9 | <a-button type="primary" @click="handleCreate">新增角色</a-button> | 10 | <a-button type="primary" @click="handleCreate">新增角色</a-button> |