Parcourir la source

fix: 新建任务 http 默认选项没有选中问题

许俊杰 il y a 3 ans
Parent
commit
e912e193d8
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      Web/src/views/system/job/component/editJobDetail.vue

+ 1 - 1
Web/src/views/system/job/component/editJobDetail.vue

@@ -183,7 +183,7 @@ const openDialog = (row: any) => {
 	state.isShowDialog = true;
 
 	// Http请求
-	if (state.ruleForm.createType === JobCreateTypeEnum.NUMBER_2) {
+	if (row.id && state.ruleForm.createType === JobCreateTypeEnum.NUMBER_2) {
 		state.httpJobMessage = getHttpJobMessage(state.ruleForm.properties);
 	}