fix(projects): 修复表单校验问题
This commit is contained in:
Vendored
+2
-2
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user