mirror of
https://gitee.com/openharmony/third_party_jsframework
synced 2024-11-23 06:40:59 +00:00
修改
Signed-off-by: anyueling <anyueling@huawei.com>
This commit is contained in:
parent
9d88fe9e98
commit
df68fc6518
@ -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");
|
||||
}
|
||||
},
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user