修正匯入的 apihandler 模組名稱為 apiHandler
This commit is contained in:
parent
42742d1063
commit
2c92242cb1
@ -5,7 +5,7 @@ import {
|
|||||||
GET_SITES_SYSTEM_ENERGY_COST_GROWTH_API,
|
GET_SITES_SYSTEM_ENERGY_COST_GROWTH_API,
|
||||||
} from "./api";
|
} from "./api";
|
||||||
import instance from "@/util/request";
|
import instance from "@/util/request";
|
||||||
import apihandler from "@/util/apihandler";
|
import apihandler from "@/util/apiHandler";
|
||||||
|
|
||||||
export const getSystemStatus = async (building_ids) => {
|
export const getSystemStatus = async (building_ids) => {
|
||||||
const res = await instance.post(GET_SITES_SYSTEM_STATUS_API, building_ids);
|
const res = await instance.post(GET_SITES_SYSTEM_STATUS_API, building_ids);
|
||||||
|
Loading…
Reference in New Issue
Block a user