@ -27,7 +27,7 @@ interface TaskGroupIdReq {
interface TaskGroupReq {
name: string
projectCode: number
projectCode: string
groupSize: string
status: number
description: string
@ -82,7 +82,7 @@ const FormModal = defineComponent({
}
const onCancel = () => {
state.formData.projectCode = 0
state.formData.projectCode = ''
state.formData.description = ''
emit('cancel')
@ -28,7 +28,7 @@ export function useForm() {
formData: {
id: 0,
name: '',
projectCode: 0,
projectCode: '',
groupSize: '0',
status: 1,
description: ''