You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

data.ts 519B

12345678910111213141516171819202122232425262728293031323334353637
  1. export let dataForm = {
  2. start_year: 0,
  3. start_month: 0,
  4. end_year: 0,
  5. end_month: 0,
  6. end_today: 0,
  7. school_or_institution: '',
  8. major: '',
  9. certificate: '',
  10. awards: '',
  11. positions_held: '',
  12. }
  13. export let otherDataForm = {
  14. }
  15. export const reset = () => {
  16. dataForm = {
  17. start_year: 0,
  18. start_month: 0,
  19. end_year: 0,
  20. end_month: 0,
  21. end_today: 0,
  22. school_or_institution: '',
  23. major: '',
  24. certificate: '',
  25. awards: '',
  26. positions_held: '',
  27. }
  28. otherDataForm = {
  29. }
  30. return { dataForm, otherDataForm }
  31. }