Commit b2bd77a8 authored by 张俊's avatar 张俊

接口调用添加时间间隔

parent 3729eb41
......@@ -84,7 +84,9 @@ const getLog = (id) => {
state.desc = data.exec_desc;
if (data.state == 0) {
setTimeout(() => {
getLog(id);
}, 2000);
}
}
});
......
......@@ -257,7 +257,9 @@ const getLog = (id) => {
state.useStatus = data.state;
if (data.state == 0) {
setTimeout(() => {
getLog(id);
}, 2000);
}
}
});
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment