|
@@ -192,9 +192,10 @@ export default {
|
|
|
if (item.loading === true) {
|
|
|
return
|
|
|
}
|
|
|
- const { id, type } = Object.values(item.nodeProperty).pop()
|
|
|
+ const { id, type } = item
|
|
|
+ // const { id, type } = Object.values(item.nodeProperty).pop()
|
|
|
item.loading = true
|
|
|
- if (type === 'readResource') {
|
|
|
+ if (type === 'data_resource') {
|
|
|
await this.handleRunResource(id)
|
|
|
}
|
|
|
if (type === 'modelTraining') {
|