Skip to content

Commit 415e51e

Browse files
authored
Update linking.md
1 parent cc7160c commit 415e51e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cndocs/linking.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ import Tabs from '@theme/Tabs'; import TabItem from '@theme/TabItem'; import con
104104
105105
你可以用 `Linking.addEventListener('url', callback)` 来处理这些事件——它使用链接的 URL 调用 `callback({ url })`
106106
107-
#### 如果应用程序还没有打开,它就会被打开,并将 url 作为 initialURL 传入
107+
#### 2. 如果应用程序还没有打开,它就会被打开,并将 url 作为 initialURL 传入
108108
109109
你可以用 `Linking.getInitialURL()` 来处理这些事件——它会返回一个解析到 URL 的 Promise (如果有的话)。
110110

0 commit comments

Comments
 (0)