接口修改补充

Signed-off-by: anyueling <anyueling@huawei.com>
This commit is contained in:
anyueling 2022-08-25 10:36:40 +08:00
parent 851150791b
commit adc7eac050

View File

@ -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)
}
}