lynx.__globalProps 是一个全局变量,它是一个对象,你可以在任何地方访问它。
onGlobalPropsChanged 事件,随后触发整个页面的一次重新渲染。你可以在你的组件中监听 __globalProps 的变化。
在 LynxView 提供了接口设置 __globalProps。
Either a query must be provided as the `query` prop to the <APITable />, or it will be retrieved from the api field in the frontmatter of the current page.