Commit e1f6d0d4 authored by 邱旭's avatar 邱旭

1

parent fb9d829a
...@@ -23,6 +23,7 @@ export default class ScratchIcon extends IconBase { ...@@ -23,6 +23,7 @@ export default class ScratchIcon extends IconBase {
public getTaskInfo() { public getTaskInfo() {
NetManager.ins.scratchGetTaskInfo((success, res) => { NetManager.ins.scratchGetTaskInfo((success, res) => {
if(!success) { if(!success) {
this.visible = false;
return; return;
} }
let status = res.data.taskStatus; let status = res.data.taskStatus;
......
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