diff --git a/docs/module4/message.mdx b/docs/module4/message.mdx index 1562f44..e15d318 100644 --- a/docs/module4/message.mdx +++ b/docs/module4/message.mdx @@ -102,7 +102,7 @@ console.log(resp) 1. 开发阶段你可以通过,扩展管理器中获得,开发过程中保持不变。 2. 发布后怎么获得呢? - 一种解决思路是,通过 `background` 中调用 `chrome.runtime.id` 获得。然后通过其他途径传递到前端`Content-Script` + 在扩展的相关页面中,可以通过 `chrome.runtime.id` 获取到。 :::