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

!7099 【轻量级 PR】:【OpenHarmony开源贡献者计划2022】js-apis-uiappearance 添加返回值

Merge pull request !7099 from gloria/N/A
......@@ -64,6 +64,12 @@ setDarkMode(mode: DarkMode): Promise\<void>;
| -- | -- | -- | -- |
| mode | [DarkMode](#darkmode) | 是 | 指定系统深色模式配置 |
**返回值:**
| 类型 | 说明 |
| ------ | ------------------------------ |
| Promise\<void> | Promise对象。无返回结果的Promise对象。|
**示例:**
```ts
uiAppearance.setDarkMode(uiAppearance.DarkMode.ALWAYS_DARK).then(() => {
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册