@@ -56,11 +56,14 @@ export async function getCollectionList(
}
export async function getLe5leV(id: string, projection?: any, historyId?: string) {
- return await axios.post('/api/data/v/get', {
+ const res = await axios.post('/api/data/v/get', {
id,
projection,
historyId
});
+
+ res.data = JSON.parse(res.data);
+ return res;
export async function getComponents(id: string) {