mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2026-09-22 00:00:50 +00:00
fix: fix script library execution issue on child nodes (#12869)
This commit is contained in:
@@ -45,7 +45,7 @@ const initTerm = async () => {
|
||||
await nextTick();
|
||||
terminalRef.value!.acceptParams({
|
||||
endpoint: '/api/v2/core/script/run',
|
||||
args: `script_id=${scriptID.value}¤t_node=${currentNode.value}`,
|
||||
args: `script_id=${scriptID.value}&operateNode=${currentNode.value}`,
|
||||
error: '',
|
||||
initCmd: '',
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user