提交 1d247a41 编写于 作者: C cy7717

mod

Signed-off-by: Ncy7717 <chenyu301@huawei.com>
上级 7e9067c9
......@@ -421,7 +421,7 @@ off(type: 'headerReceive', callback?: (header: object) =&gt; void): void
```js
let headerCallback = (header) => {
console.info('Upload delete headerReceive notification.' + 'header: ${JSON.stringify(header)}');
console.info(`Upload delete headerReceive notification. header: ${JSON.stringify(header)}`);
};
uploadTask.off('headerReceive', headerCallback);
```
......@@ -1010,7 +1010,7 @@ off(type: 'fail', callback?: (err: number) =&gt; void): void
```js
let failCallback = (err) => {
console.info('Download delete fail notification.' + 'err: ${err.message}');
console.info(`Download delete fail notification. err: ${err.message}`);
};
downloadTask.off('fail', failCallback);
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册