提交 4c2467df authored 作者: 吴强's avatar 吴强

code clear

上级 f2e8bb59
...@@ -19,15 +19,8 @@ export default { ...@@ -19,15 +19,8 @@ export default {
if (action === 'update') { if (action === 'update') {
const token = encrypt(tokenId); const token = encrypt(tokenId);
// console.info(`${config.updateContextPath}/resource/${token}/${encodeURIComponent(deploymentInfo.uri)}`); // console.info(`${config.updateContextPath}/resource/${token}/${encodeURIComponent(deploymentInfo.uri)}`);
addUpdaterDownloadingCallback((event) => {
console.log(event);
});
addUpdaterDownloadedCallback((event) => {
console.log('结束');
console.log(event);
});
console.log('开始'); console.log('开始');
yield call(update, `${config.updateContextPath}/resource/${token}/${encodeURIComponent(deploymentInfo.uri)}`); yield call(update, `${config.updateContextPath}/resource/${token}/${encodeURIComponent(deploymentInfo.uri)}`, (event) => { console.info(event); });
console.log('结束结束结束结束结束结束结束结束结束结束'); console.log('结束结束结束结束结束结束结束结束结束结束');
} }
} catch (e) { } catch (e) {
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论