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

@ -14,23 +14,19 @@
<DictTag :type="DICT_TYPE.COMMON_STATUS" :value="row.status" />
</template>
<template #action_default="{ row }">
<XButton
link
type="primary"
<XTextButton
preIcon="ep:edit"
:title="t('action.edit')"
v-hasPermi="['system:post:update']"
@click="handleUpdate(row.id)"
/>
<XButton
link
type="primary"
<XTextButton
preIcon="ep:view"
:title="t('action.detail')"
v-hasPermi="['system:post:update']"
@click="handleDetail(row)"
/>
<XButton
<XTextButton
link
type="primary"
preIcon="ep:delete"