refactor: button

This commit is contained in:
xingyu4j
2022-11-15 17:51:50 +08:00
parent d3526e6f63
commit 9cf4500ed5
3 changed files with 61 additions and 62 deletions

View File

@ -6,9 +6,13 @@
<ContentWrap>
<!-- 操作工具栏 -->
<div class="mb-10px">
<el-button type="primary" v-hasPermi="['system:sms-channel:create']" @click="handleCreate">
<Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }}
</el-button>
<XButton
type="primary"
preIcon="ep:zoom-in"
:title="t('action.add')"
v-hasPermi="['system:sms-channel:create']"
@click="handleCreate()"
/>
</div>
<!-- 列表 -->
<Table