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
851150791b
commit
adc7eac050
@ -185,7 +185,8 @@ export function mockRequest() {
|
||||
const header = "[PC Preview] unknow header"
|
||||
args[len - 1].call(this, header)
|
||||
} else if (args[0] == 'complete' || 'fail') {
|
||||
const taskStates = "[PC Preview] unknow taskStates"
|
||||
var taskStates = new Array();
|
||||
taskStates.push(TaskState);
|
||||
args[len - 1].call(this, taskStates)
|
||||
}
|
||||
}
|
||||
@ -204,7 +205,8 @@ export function mockRequest() {
|
||||
const header = "[PC Preview] unknow header"
|
||||
args[len - 1].call(this, header)
|
||||
} else if (args[0] == 'complete' || 'fail') {
|
||||
const taskStates = "[PC Preview] unknow taskStates"
|
||||
var taskStates = new Array();
|
||||
taskStates.push(TaskState);
|
||||
args[len - 1].call(this, taskStates)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user