提交 1c0489af 编写于 作者: zyjhandsome's avatar zyjhandsome

异常答应中console.log修改为console.error

Signed-off-by: zyjhandsome's avatarzyjhandsome <zyjhandsome@126.com>
上级 b0b5dc09
......@@ -36,9 +36,9 @@ this.context.setMissionIcon(imagePixelMap, (err) => {
```ts
this.context.setMissionLabel('test').then(() => {
console.log('setMissionLabel succeeded.');
console.info('setMissionLabel succeeded.');
}).catch((err) => {
console.log(`setMissionLabel failed, code is ${err.code}, message is ${err.message}`);
console.error(`setMissionLabel failed, code is ${err.code}, message is ${err.message}`);
});
```
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册