Skip to content

Commit 73acfc4

Browse files
committed
refactor: streamline worker retrieval in Drawer.vue
- Removed the setTimeout wrapper around the getWorkers method call to enhance immediate data fetching and improve code clarity.
1 parent 33dff50 commit 73acfc4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/business/src/views/data-server/Drawer.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -341,7 +341,7 @@ export default {
341341
this.data.params.forEach((p) => {
342342
debugParams[p.name] = p.defaultvalue || ''
343343
})
344-
setTimeout(this.getWorkers, 2000)
344+
this.getWorkers()
345345
}
346346
this.debugParams = debugParams
347347
},

0 commit comments

Comments
 (0)