File tree Expand file tree Collapse file tree 3 files changed +4
-4
lines changed
Expand file tree Collapse file tree 3 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -249,7 +249,7 @@ const toolTreeData = ref<any[]>([])
249249const toolList = ref <any []>([])
250250
251251async function getToolFolder() {
252- const res: any = await folder .asyncGetFolder (SourceTypeEnum .TOOL , {id : props .id }, apiType .value , loading )
252+ const res: any = await folder .asyncGetFolder (SourceTypeEnum .TOOL , {source_id : props .id }, apiType .value , loading )
253253 toolTreeData .value = res .data
254254 folder .setCurrentFolder (res .data ?.[0 ] || {})
255255}
@@ -271,7 +271,7 @@ const applicationTreeData = ref<any[]>([])
271271const applicationList = ref <any []>([])
272272
273273function getApplicationFolder() {
274- folder .asyncGetFolder (SourceTypeEnum .APPLICATION , {id : props .id }, apiType .value , loading ).then ((res : any ) => {
274+ folder .asyncGetFolder (SourceTypeEnum .APPLICATION , {source_id : props .id }, apiType .value , loading ).then ((res : any ) => {
275275 applicationTreeData .value = res .data
276276 folder .setCurrentFolder (res .data ?.[0 ] || {})
277277 })
Original file line number Diff line number Diff line change @@ -210,7 +210,7 @@ const toolTreeData = ref<any[]>([])
210210const toolList = ref <any []>([])
211211
212212async function getToolFolder() {
213- const res: any = await folder .asyncGetFolder (SourceTypeEnum .TOOL , {id : props .id }, apiType .value , loading )
213+ const res: any = await folder .asyncGetFolder (SourceTypeEnum .TOOL , {source_id : props .id }, apiType .value , loading )
214214 toolTreeData .value = res .data
215215 folder .setCurrentFolder (res .data ?.[0 ] || {})
216216}
Original file line number Diff line number Diff line change @@ -230,7 +230,7 @@ const toolTreeData = ref<any[]>([])
230230const toolList = ref <any []>([])
231231
232232async function getToolFolder() {
233- const res: any = await folder .asyncGetFolder (SourceTypeEnum .TOOL , {id : props .id }, apiType .value , loading )
233+ const res: any = await folder .asyncGetFolder (SourceTypeEnum .TOOL , {source_id : props .id }, apiType .value , loading )
234234 toolTreeData .value = res .data
235235 folder .setCurrentFolder (res .data ?.[0 ] || {})
236236}
You can’t perform that action at this time.
0 commit comments