diff --git a/src/api/qgis.ts b/src/api/qgis.ts index 9fc3220..2b7cf8b 100644 --- a/src/api/qgis.ts +++ b/src/api/qgis.ts @@ -16,7 +16,7 @@ const axiosInstance = createAxiosInstance(axiosConfig); /** * 获取工作空间 */ -export function fetchWorkspace() { +export async function fetchWorkspace() { return axiosInstance.get("/qgis/process/list_qgis_temp_dir_with_structure/"); }