-
Notifications
You must be signed in to change notification settings - Fork 154
Update my.setKeepScreenOn.md #2154
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
my.setKeepScreenOn 在外部组件页面会失效
“仅在当前小程序生效,离开小程序后失效” 这句话前面是句号,感觉缺了一个主语,但是不影响理解。个人观点仅供参考 |
读起来确实有割裂感,已添加主语。这个限制还是有必要说清楚的 @yuqing1111 再看看哈 |
已验收合格,请合入 @hbhftgf |
@@ -1,6 +1,6 @@ | |||
# 简介 | |||
|
|||
**my.setKeepScreenOn** 是设置是否保持屏幕长亮状态的 API。仅在当前小程序生效,离开小程序后失效。 | |||
**my.setKeepScreenOn** 是设置是否保持屏幕长亮状态的 API。此 API 仅在当前小程序生效,离开小程序后失效。 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
setKeepScreenOn 这是个一次性的动作,它触发长亮状态,然后长亮状态在离开当前小程序后自动解除。说 API 仅在当前小程序生效,有点奇怪
关键词替换:API 仅触发长亮状态,失效的是状态不是 API 的本身。状态使用解除的说法。
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@yuqing1111 麻烦再看看哈
@ChenYM520 “当关闭组件回到小程序后会再次进入长亮状态”这句要不要考虑再描述细致一点,比如说“当关闭这类组件页面,返回到小程序后会再次进入之前设置的长亮状态。”这种描述?仅供参考。 |
@yuqing1111 这个意见非常好,谢谢给出宝贵的意见 |
@hbhftgf 本人已审核,请复审 |
my.setKeepScreenOn 在外部组件页面会失效