mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-10-31 18:28:43 +08:00 
			
		
		
		
	修复代码生成父菜单选择无效,前端代码缺少字段,格式错误
This commit is contained in:
		| @@ -38,15 +38,15 @@ const submitForm = async () => { | ||||
|   if (basicForm && genForm) { | ||||
|     const basicInfoData = (await basicInfo?.getFormData()) as CodegenTableVO | ||||
|     const genInfoData = (await genInfo?.getFormData()) as CodegenTableVO | ||||
|     const genTable: CodegenUpdateReqVO = { | ||||
|       table: Object.assign({}, basicInfoData, genInfoData), | ||||
|       columns: cloumCurrentRow.value | ||||
|     } | ||||
|     if (parentMenuId.value) { | ||||
|       genInfoData.parentMenuId = parentMenuId.value | ||||
|     } else { | ||||
|       genInfoData.parentMenuId = 0 | ||||
|     } | ||||
|     const genTable: CodegenUpdateReqVO = { | ||||
|       table: Object.assign({}, basicInfoData, genInfoData), | ||||
|       columns: cloumCurrentRow.value | ||||
|     } | ||||
|     await updateCodegenTableApi(genTable) | ||||
|     ElMessage.success(t('common.updateSuccess')) | ||||
|     push('/infra/codegen') | ||||
|   | ||||
| @@ -150,7 +150,7 @@ defineExpose({ | ||||
|         :props="menuProps" | ||||
|         :data="menuOptions" | ||||
|         check-strictly | ||||
|         @node-click="handleNodeClick" | ||||
|         @change="handleNodeClick" | ||||
|       /> | ||||
|     </template> | ||||
|   </Form> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 jueying
					jueying