未验证 提交 a94a5c3c 编写于 作者: O openharmony_ci 提交者: Gitee

!4878 【杂散】【request】修改request编译不通过的问题

Merge pull request !4878 from 张育帅/master
......@@ -113,7 +113,7 @@ function publicoff(Updatetask, Type){
}
//remove公共方法
function publicremove(Updatetask, Type){
function publicremove(Updatetask){
return new Promise(function(resolve, reject) {
Updatetask.remove((err,data) => {
console.info("Testupdate publicremove =" + data);
......
......@@ -108,7 +108,7 @@ export default function uploadRequestJsunitTest() {
await pubfun.publicoffprogress(uploadTask, typeProgress).then((data) => {
console.info("SwitchOffProgressCallback001 data" + JSON.stringify(data));
expect(7).assertEqual(data.totalSize);
expect(7).assertEqual(data["totalSize"]);
done();
}).catch((err) => {
console.info("SwitchOffProgressCallback001 fail 2" + JSON.stringify(err));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册