提交代码

main
姜玉琦 2024-09-24 22:20:55 +08:00
parent 01f1d3c88a
commit b58d556fbe
2 changed files with 3 additions and 3 deletions

View File

@ -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,

View File

@ -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;
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;