[Fix][UI Next][V1.0.0-Alpha] Fix there is a warning message in the task group configuration. (#9011)
parent
7ca204772b
commit
06ef1ae6cd
|
|
@ -28,7 +28,7 @@ interface TaskGroupIdReq {
|
|||
interface TaskGroupReq {
|
||||
name: string
|
||||
projectCode: number
|
||||
groupSize: number
|
||||
groupSize: string
|
||||
status: number
|
||||
description: string
|
||||
}
|
||||
|
|
|
|||
|
|
@ -59,11 +59,11 @@ const FormModal = defineComponent({
|
|||
state.formData.id = props.data.id
|
||||
state.formData.name = props.data.name
|
||||
state.formData.projectCode = props.data.projectCode
|
||||
state.formData.groupSize = props.data.groupSize
|
||||
state.formData.groupSize = String(props.data.groupSize)
|
||||
state.formData.status = props.data.status
|
||||
state.formData.description = props.data.description
|
||||
} else {
|
||||
state.formData.groupSize = 10
|
||||
state.formData.groupSize = '10'
|
||||
}
|
||||
})
|
||||
|
||||
|
|
|
|||
|
|
@ -29,7 +29,7 @@ export function useForm() {
|
|||
id: 0,
|
||||
name: '',
|
||||
projectCode: 0,
|
||||
groupSize: 0,
|
||||
groupSize: '0',
|
||||
status: 1,
|
||||
description: ''
|
||||
} as TaskGroupUpdateReq,
|
||||
|
|
|
|||
Loading…
Reference in New Issue