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

Merge pull request !1 from yan xiaonan/master
This commit is contained in:
芋道源码 2023-03-01 00:47:01 +00:00 committed by Gitee
commit f71e74923c
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

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()