Commit cd4b9e977107b1f93b376453fe86844e398fa810
1 parent
8cfc0736
perf: 显示icon
Showing
2 changed files
with
8 additions
and
1 deletions
yudao-ui-admin-vue3/src/views/system/menu/index.vue
| ... | ... | @@ -14,6 +14,10 @@ |
| 14 | 14 | <XButton title="展开所有" @click="xGrid?.setAllTreeExpand(true)" /> |
| 15 | 15 | <XButton title="关闭所有" @click="xGrid?.clearTreeExpand()" /> |
| 16 | 16 | </template> |
| 17 | + <template #name_default="{ row }"> | |
| 18 | + <Icon :icon="row.icon" /> | |
| 19 | + <span class="ml-3">{{ row.name }}</span> | |
| 20 | + </template> | |
| 17 | 21 | <template #actionbtns_default="{ row }"> |
| 18 | 22 | <!-- 操作:修改 --> |
| 19 | 23 | <XTextButton | ... | ... |
yudao-ui-admin-vue3/src/views/system/menu/menu.data.ts