fix: 修复代码生成相关错误

1.通用枚举查询无法扫描到 QueryTypeEnum
2.前端路径校验错误
3.部分命名格式修复
This commit is contained in:
2023-12-12 22:38:35 +08:00
parent 3ece42b94e
commit 3fdc50d78e
5 changed files with 98 additions and 6 deletions

View File

@@ -202,7 +202,7 @@
<a-select
v-if="record.showInQuery"
v-model="record.queryType"
:options="query_type_Enum"
:options="query_type_enum"
placeholder="请选择查询方式"
/>
<span v-else>无需设置</span>
@@ -281,9 +281,9 @@
} from '@/api/tool/generator';
const { proxy } = getCurrentInstance() as any;
const { form_type_enum, query_type_Enum } = proxy.useDict(
const { form_type_enum, query_type_enum } = proxy.useDict(
'form_type_enum',
'query_type_Enum',
'query_type_enum',
);
const tableList = ref<TableRecord[]>([]);