Skip to content

Commit

Permalink
chore(generator): 更新前端列表页面模板
Browse files Browse the repository at this point in the history
  • Loading branch information
Charles7c committed Oct 13, 2024
1 parent 3f4331e commit ffdc971
Showing 1 changed file with 11 additions and 11 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
@refresh="search"
>
<#-- 查询字段配置 -->
<template #custom-left>
<template #toolbar-left>
<#list fieldConfigs as fieldConfig>
<#if fieldConfig.showInQuery>
<#if fieldConfig.formType == "SELECT"><#-- 下拉框 -->
Expand Down Expand Up @@ -57,20 +57,20 @@
</#if>
</#if>
</#list>
<a-button @click="reset">重置</a-button>
<a-button @click="reset">
<template #icon><icon-refresh /></template>
<template #default>重置</template>
</a-button>
</template>
<template #custom-right>
<template #toolbar-right>
<a-button v-permission="['${apiModuleName}:${apiName}:add']" type="primary" @click="onAdd">
<template #icon><icon-plus /></template>
<span>新增</span>
<template #default>新增</template>
</a-button>
<a-button v-permission="['${apiModuleName}:${apiName}:export']" @click="onExport">
<template #icon><icon-download /></template>
<template #default>导出</template>
</a-button>
<a-tooltip content="导出">
<a-button v-permission="['${apiModuleName}:${apiName}:export']" class="gi_hover_btn-border" @click="onExport">
<template #icon>
<icon-download />
</template>
</a-button>
</a-tooltip>
</template>
<#-- 列字段配置 -->
<template #name="{ record }">
Expand Down

0 comments on commit ffdc971

Please sign in to comment.