review:通用的代码生成 demo

This commit is contained in:
YunaiV
2025-05-06 22:32:09 +08:00
parent 9f8e7533fb
commit 2fd6367983
5 changed files with 301 additions and 112 deletions

View File

@@ -154,6 +154,7 @@ onMounted(async () => {
class="w-full"
/>
</Form.Item>
<!-- TODO @puhui999貌似性别的宽度不对并且选择后会变哈 -->
<Form.Item label="性别" name="sex">
<Select
v-model:value="queryParams.sex"
@@ -161,6 +162,7 @@ onMounted(async () => {
allow-clear
class="w-full"
>
<!-- TODO @puhui999要不咱还是把 getIntDictOptions 还是搞出来总归方便点~ -->
<Select.Option
v-for="dict in getDictOptions(
DICT_TYPE.SYSTEM_USER_SEX,
@@ -191,6 +193,7 @@ onMounted(async () => {
<!-- 列表 -->
<ContentWrap title="示例联系人">
<!-- TODO @puhui999暗黑模式下会有个黑底 -->
<template #extra>
<TableToolbar
ref="tableToolbarRef"