diff --git a/zh-cn/application-dev/notification/notification-with-wantagent.md b/zh-cn/application-dev/notification/notification-with-wantagent.md index 6a725d44667ae2894ebfb044ee04ed0fb60553b9..e3fb18fcee87447093fad2c575476048c85ad65c 100644 --- a/zh-cn/application-dev/notification/notification-with-wantagent.md +++ b/zh-cn/application-dev/notification/notification-with-wantagent.md @@ -84,8 +84,8 @@ // 创建WantAgent wantAgent.getWantAgent(wantAgentInfo, (err, data) => { if (err) { - console.error('[WantAgent]getWantAgent err=' + JSON.stringify(err)); - return; + console.error('[WantAgent]getWantAgent err=' + JSON.stringify(err)); + return; } console.info('[WantAgent]getWantAgent success'); wantAgentObj = data;