perf: add xtextbutton

This commit is contained in:
xingyu4j
2022-11-09 16:31:37 +08:00
parent 9c033d0104
commit b8665a9bc6
5 changed files with 21 additions and 17 deletions

View File

@ -73,17 +73,13 @@
<vxe-column title="创建时间" field="createTime" formatter="formatDate" />
<vxe-column title="操作" width="200">
<template #default="{ row }">
<XButton
link
type="primary"
<XTextButton
preIcon="ep:edit"
:title="t('action.edit')"
v-hasPermi="['system:menu:update']"
@click="handleUpdate(row.id)"
/>
<XButton
link
type="primary"
<XTextButton
preIcon="ep:delete"
:title="t('action.del')"
v-hasPermi="['system:menu:delete']"