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 { interface TaskGroupReq {
name: string name: string
projectCode: number projectCode: string
groupSize: string groupSize: string
status: number status: number
description: string 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 = () => { const onCancel = () => {
state.formData.projectCode = 0 state.formData.projectCode = ''
state.formData.description = '' state.formData.description = ''
emit('cancel') emit('cancel')
} }

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

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

Loading…
Cancel
Save