mirror of
https://gitee.com/hhyykk/ipms-sjy.git
synced 2025-07-13 10:35:07 +08:00
refactor: vue3 axios api ...
This commit is contained in:
@ -12,7 +12,7 @@ import * as SmsChannelApi from '@/api/system/sms/smsChannel'
|
||||
const { t } = useI18n() // 国际化
|
||||
|
||||
// ========== 列表相关 ==========
|
||||
const { register, tableObject, methods } = useTable<PageResult<SmsChannelVO>, SmsChannelVO>({
|
||||
const { register, tableObject, methods } = useTable<SmsChannelVO>({
|
||||
getListApi: SmsChannelApi.getSmsChannelPageApi,
|
||||
delListApi: SmsChannelApi.deleteSmsChannelApi
|
||||
})
|
||||
@ -96,7 +96,7 @@ getList()
|
||||
<!-- 操作工具栏 -->
|
||||
<div class="mb-10px">
|
||||
<el-button type="primary" v-hasPermi="['system:sms-channel:create']" @click="handleCreate">
|
||||
<Icon icon="el:zoom-in" class="mr-5px" /> {{ t('action.add') }}
|
||||
<Icon icon="ep:zoom-in" class="mr-5px" /> {{ t('action.add') }}
|
||||
</el-button>
|
||||
</div>
|
||||
<!-- 列表 -->
|
||||
|
Reference in New Issue
Block a user