!775 代码生成配置更新于修复

Merge pull request !775 from 涛声依旧/master
This commit is contained in:
芋道源码 2025-06-15 08:24:39 +00:00 committed by Gitee
commit 2217c1413c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -95,7 +95,20 @@
</el-table-column>
<el-table-column label="字典类型" min-width="12%">
<template #default="scope">
<el-select v-model="scope.row.dictType" clearable filterable placeholder="请选择">
<el-select v-model="scope.row.dictType" :value-on-clear="''" clearable filterable placeholder="请选择">
<template #header>
<div class="flex justify-end">
<el-popover
class="box-item"
content="加载最新字典"
placement="top-start"
>
<template #reference>
<el-button :icon="Refresh" size="small" circle @click="getDictOptions" class=""/>
</template>
</el-popover>
</div>
</template>
<el-option
v-for="dict in dictOptions"
:key="dict.id"
@ -114,6 +127,7 @@
</template>
<script lang="ts" setup>
import { PropType } from 'vue'
import { Refresh } from '@element-plus/icons-vue'
import * as CodegenApi from '@/api/infra/codegen'
import * as DictDataApi from '@/api/system/dict/dict.type'