feat: change api active
parent
942a769873
commit
c3985de71c
|
@ -53,7 +53,7 @@ export default function DefaultValue() {
|
||||||
const handleGetDataActive = async () => {
|
const handleGetDataActive = async () => {
|
||||||
setLoadingActive(true);
|
setLoadingActive(true);
|
||||||
await axios
|
await axios
|
||||||
.get('v1/data-scheduling-active', { params: { date: dayjs().format('YYYY-MM-DD') } })
|
.get('v1/transaction-setting/detail', { params: { date: dayjs().format('YYYY-MM-DD') } })
|
||||||
.then((resp) => {
|
.then((resp) => {
|
||||||
const value = resp.data?.data?.value;
|
const value = resp.data?.data?.value;
|
||||||
form.setFieldsValue({ value: value });
|
form.setFieldsValue({ value: value });
|
||||||
|
|
Loading…
Reference in New Issue