bug修复,同步dictTypeValue到form 否则导致表单验证不通过

Signed-off-by: yan xiaonan <549250640@qq.com>
pull/1/head^2
yan xiaonan 2023-02-12 14:15:20 +00:00 committed by Gitee
parent 937c5218f9
commit ede4eb0aee
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 5 additions and 0 deletions

View File

@ -197,6 +197,11 @@ const setDialogTile = (type: string) => {
dialogVisible.value = true
}
// dictTypeValueform
watch(dictTypeValue, (val) => {
unref(typeFormRef)?.setValues({ type: val })
})
//
const submitTypeForm = async () => {
const elForm = unref(typeFormRef)?.getElFormRef()