未验证 提交 44be4f12 编写于 作者: 孙悦 提交者: Gitee

update zh-cn/application-dev/reference/apis/js-apis-system-time.md.

Signed-off-by: Nsunyue <sunyue77@h-partners.com>
上级 54aaeaef
......@@ -191,7 +191,7 @@ getRealActiveTime(isNano?: boolean): Promise&lt;number&gt;
**示例:**
```js
systemTime.getCurrentTime().then((data) => {
systemTime.getRealActiveTime().then((data) => {
console.log(`systemTime.getRealActiveTime success data : ` + JSON.stringify(data));
}).catch((error) => {
console.error(`failed to systemTime.getRealActiveTime because ` + JSON.stringify(error));
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册