微调
This commit is contained in:
@@ -1,4 +1,5 @@
|
||||
import http from "@/api";
|
||||
import {CheckData} from "@/api/check/interface";
|
||||
|
||||
export const getBigTestItem = (planId: string) => {
|
||||
return http.get(`/adPlan/getBigTestItem?planId=${planId}`, {loading: false});
|
||||
@@ -28,7 +29,7 @@ export const getTreeData = (params: {
|
||||
scriptType: string | null,
|
||||
code: string
|
||||
}) => {
|
||||
return http.post("/result/treeData/", params, {loading: false});
|
||||
return http.post<CheckData.ScriptItem[]>("/result/treeData/", params, {loading: true});
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user