Commit 3dce376
committed
fix(TAP-7675): improve form handling in Drawer.vue and CreateRestApi.vue
- Updated form initialization logic to use isEmpty check for better clarity.
- Simplified data handling by directly using formData in the open method.
- Removed unnecessary basePath generation in CreateRestApi.vue for cleaner code.1 parent bb19b9f commit 3dce376
2 files changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
| |||
677 | 677 | | |
678 | 678 | | |
679 | 679 | | |
680 | | - | |
681 | | - | |
682 | 680 | | |
683 | 681 | | |
684 | 682 | | |
| |||
688 | 686 | | |
689 | 687 | | |
690 | 688 | | |
691 | | - | |
| 689 | + | |
692 | 690 | | |
693 | 691 | | |
694 | 692 | | |
695 | 693 | | |
696 | 694 | | |
697 | | - | |
| 695 | + | |
698 | 696 | | |
699 | | - | |
| 697 | + | |
700 | 698 | | |
701 | 699 | | |
702 | 700 | | |
703 | 701 | | |
| 702 | + | |
| 703 | + | |
| 704 | + | |
| 705 | + | |
704 | 706 | | |
705 | 707 | | |
706 | 708 | | |
707 | 709 | | |
708 | 710 | | |
709 | | - | |
710 | 711 | | |
711 | 712 | | |
712 | 713 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
31 | | - | |
32 | 30 | | |
33 | 31 | | |
34 | | - | |
35 | | - | |
36 | 32 | | |
37 | 33 | | |
38 | 34 | | |
39 | 35 | | |
40 | | - | |
41 | 36 | | |
42 | 37 | | |
43 | 38 | | |
| |||
0 commit comments