From f6f8c19656cf54b149f9c1933f57e6cceaa5e79e Mon Sep 17 00:00:00 2001 From: hdx Date: Fri, 2 Aug 2024 11:01:37 +0800 Subject: [PATCH] =?UTF-8?q?App.uvue:=20=E8=A1=A5=E5=85=85=20onShow=20?= =?UTF-8?q?=E7=94=9F=E5=91=BD=E5=91=A8=E6=9C=9F=E6=8F=8F=E8=BF=B0=EF=BC=8C?= =?UTF-8?q?=E5=A2=9E=E5=8A=A0=20getEnterOptionsSync=20=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/collocation/app.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/collocation/app.md b/docs/collocation/app.md index fe3c7c92..3245ff31 100644 --- a/docs/collocation/app.md +++ b/docs/collocation/app.md @@ -16,8 +16,8 @@ |函数名|说明|平台兼容| |:-|:-|:-| -|onLaunch|当`uni-app-x` 初始化完成时触发(全局只触发一次),参数为应用启动参数,同 [uni.getLaunchOptionsSync](../api/launch.md#getlaunchoptionssync) 的返回值|| -|onShow|当 `uni-app-x` 启动,或从后台进入前台显示,参数为应用启动参数|| +|onLaunch|当`uni-app-x` 初始化完成时触发(全局只触发一次),参数为应用首次启动参数,同 [uni.getLaunchOptionsSync](../api/launch.md#getlaunchoptionssync) 的返回值|| +|onShow|当 `uni-app-x` 启动,或从后台进入前台显示,参数为应用本次启动参数,同 [uni.getEnterOptionsSync](../api/launch.md#getenteroptionssync) 的返回值|| |onHide|当 `uni-app-x` 从前台进入后台,包括手机息屏|| |onLastPageBackPress|最后一个页面按下Android back键,常用于自定义退出|app-uvue-android 3.9+| |onExit|监听应用退出|app-uvue-android 3.9+| -- GitLab