提交代码
parent
01f1d3c88a
commit
b58d556fbe
|
@ -32,7 +32,7 @@ const userOperation = (operation_id) => {
|
|||
const compileDeploy = (operation_id, LatestTime) => {
|
||||
let url = `/logs/compile_deploy/${operation_id}`;
|
||||
if (LatestTime) {
|
||||
url += "?latestTime=" + LatestTime;
|
||||
url += "?LatestTime=" + LatestTime;
|
||||
}
|
||||
return request({
|
||||
url: url,
|
||||
|
|
|
@ -159,9 +159,9 @@ const doGetComplieLogs = () => {
|
|||
})
|
||||
|
||||
request.all(ajaxs).then(d => {
|
||||
info.latestTime=+new Date();//'2023-03-01T12:00:00Z';//new Date().toLocaleString();
|
||||
d.forEach((it, idx) => {
|
||||
let msg = it.data.data;
|
||||
info.latestTime=msg.update_time;//'2023-03-01T12:00:00Z';//new Date().toLocaleString();
|
||||
if (msg.operation_result) {
|
||||
addLogs({ msg: msg.operation_result });
|
||||
info.optIds[idx].state = msg.operation_finished ? 1 : 0;
|
||||
|
|
Loading…
Reference in New Issue