fix(projects): 修复表单校验问题

This commit is contained in:
xlsea
2025-12-23 16:02:22 +08:00
parent 7bd115bf69
commit 62fb9d90cc
41 changed files with 82 additions and 82 deletions
+2 -2
View File
@@ -15,7 +15,7 @@ interface Emits {
const emit = defineEmits<Emits>();
const { validate, restoreValidation } = useNaiveForm();
const { formRef, validate, restoreValidation } = useNaiveForm();
#foreach ($column in $columns)
#if($column.htmlType == "datetime" && $column.queryType == "BETWEEN")
@@ -61,7 +61,7 @@ async function search() {
<NCard :bordered="false" size="small" class="card-wrapper">
<NCollapse>
<NCollapseItem :title="$t('common.search')" name="$moduleName-${business__name}-search">
<NForm :model="model" label-placement="left" :label-width="80">
<NForm ref="formRef" :model="model" label-placement="left" :label-width="80">
<NGrid responsive="screen" item-responsive>
#set($immediateDictList = [])
#foreach($column in $columns)