Skip to content

Commit db313bb

Browse files
committed
feat: ts app.quit
Signed-off-by: 82Flex <82flex@gmail.com>
1 parent e845c26 commit db313bb

2 files changed

Lines changed: 2 additions & 8 deletions

File tree

  • docs/lua-manual
  • i18n/zh-Hans/docusaurus-plugin-content-docs/current/lua-manual

docs/lua-manual/app.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,7 @@ Unlike [`app.close`](#close-the-app-appclose), the App will receive a notificati
300300
The App has up to 3 seconds to save its state before it is completely closed, and it will clear the label in the multitasking switcher.
301301

302302
:::caution Limitation
303-
304-
- Do not use this in a locked state.
305-
- Due to environmental limitations, this function is an alias of `app.close` in the TS version and has identical effects.
306-
303+
Do not call this function in a locked state.
307304
:::
308305

309306
#### Example

i18n/zh-Hans/docusaurus-plugin-content-docs/current/lua-manual/app.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,7 @@ app.quit(标识符)
300300
App 在完全关闭之前有至多 3 秒时间保存存档,并且它会清除掉多任务切换界面的标签。
301301

302302
:::caution 限制
303-
304-
* 请不要在锁屏状态使用。
305-
* 受到环境因素限制,TS 版本中此函数是 `app.close` 的别名,其效果完全一致。
306-
303+
请不要在锁屏状态调用此函数。
307304
:::
308305

309306
#### 示例

0 commit comments

Comments
 (0)