Browse Source

[Fix][UI Next][V1.0.0-Alpha] Fix the new task group configuration item name is displayed as 0. (#9014)

3.0.0/version-upgrade
songjianet 3 years ago committed by GitHub
parent
commit
7b190e4ab3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      dolphinscheduler-ui-next/src/service/modules/task-group/types.ts
  2. 2
      dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx
  3. 2
      dolphinscheduler-ui-next/src/views/resource/task-group/option/use-form.ts

2
dolphinscheduler-ui-next/src/service/modules/task-group/types.ts

@ -27,7 +27,7 @@ interface TaskGroupIdReq {
interface TaskGroupReq {
name: string
projectCode: number
projectCode: string
groupSize: string
status: number
description: string

2
dolphinscheduler-ui-next/src/views/resource/task-group/option/components/form-modal.tsx

@ -82,7 +82,7 @@ const FormModal = defineComponent({
}
const onCancel = () => {
state.formData.projectCode = 0
state.formData.projectCode = ''
state.formData.description = ''
emit('cancel')
}

2
dolphinscheduler-ui-next/src/views/resource/task-group/option/use-form.ts

@ -28,7 +28,7 @@ export function useForm() {
formData: {
id: 0,
name: '',
projectCode: 0,
projectCode: '',
groupSize: '0',
status: 1,
description: ''

Loading…
Cancel
Save