เเก้ object object
This commit is contained in:
parent
ed27f54433
commit
a8ad8a2723
1 changed files with 1 additions and 1 deletions
|
|
@ -357,7 +357,7 @@ const updateDateRange = () => {
|
|||
};
|
||||
const addData = async () => {
|
||||
const formData = new FormData();
|
||||
formData.append("name", roundCoin.value);
|
||||
formData.append("name", roundCoin.value.label);
|
||||
formData.append("year", parseInt(yearly.value).toString());
|
||||
formData.append("amount", datelast.value.toString());
|
||||
if (dateStart.value !== null) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue