mirror of
https://github.com/antos-rde/antosdk-apps.git
synced 2025-07-12 22:03:29 +02:00
AntosSDK support server side command executing
This commit is contained in:
@ -72,7 +72,18 @@ class AntOSDKBaseJob {
|
||||
id: this.job.id,
|
||||
type: "log",
|
||||
error: false,
|
||||
result: data
|
||||
result: data,
|
||||
show_time: true
|
||||
});
|
||||
}
|
||||
|
||||
log_print(data) {
|
||||
postMessage({
|
||||
id: this.job.id,
|
||||
type: "log",
|
||||
error: false,
|
||||
result: data,
|
||||
show_time: false
|
||||
});
|
||||
}
|
||||
|
||||
@ -81,7 +92,8 @@ class AntOSDKBaseJob {
|
||||
id: this.job.id,
|
||||
type: "log",
|
||||
error: true,
|
||||
result: data
|
||||
result: data,
|
||||
show_time: true
|
||||
});
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user