mirror of
				https://gitee.com/hhyykk/ipms-sjy-ui.git
				synced 2025-10-31 18:28:44 +08:00 
			
		
		
		
	bug修复,同步dictTypeValue到form 否则导致表单验证不通过
Signed-off-by: yan xiaonan <549250640@qq.com>
This commit is contained in:
		| @@ -197,6 +197,11 @@ const setDialogTile = (type: string) => { | |||||||
|   dialogVisible.value = true |   dialogVisible.value = true | ||||||
| } | } | ||||||
|  |  | ||||||
|  | // 同步dictTypeValue到form 否则导致表单验证不通过 | ||||||
|  | watch(dictTypeValue, (val) => { | ||||||
|  |   unref(typeFormRef)?.setValues({ type: val }) | ||||||
|  | }) | ||||||
|  |  | ||||||
| // 提交按钮 | // 提交按钮 | ||||||
| const submitTypeForm = async () => { | const submitTypeForm = async () => { | ||||||
|   const elForm = unref(typeFormRef)?.getElFormRef() |   const elForm = unref(typeFormRef)?.getElFormRef() | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 yan xiaonan
					yan xiaonan