Signed-off-by: anyueling <anyueling@huawei.com>
This commit is contained in:
anyueling 2022-08-23 21:19:06 +08:00
parent 9d88fe9e98
commit df68fc6518

View File

@ -196,9 +196,9 @@ export function mockRequest() {
} else if (args[0] == 'headerReceive') {
const header = "[PC Preview] unknow header"
args[len - 1].call(this, header)
} else if (args[0] == 'complete' | 'fail') {
args[len - 1].call(this, TaskState)
}
} else if (args[0] == 'complete' | 'fail') {
console.warn("uploadTask off complete | fail");
}
},