Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我有一个查询,我只希望它在我点击一个按钮时运行,而不是之前。
我该如何控制?
您可以将查询设置为从查询编辑器手动运行。
按带有向下箭头的运行旁边的按钮以获取查询选项,然后选中“手动运行”旁边的框。
注意:如果您将查询设置为手动运行,它将不会在文档加载或其依赖关系发生变化时运行。它只会在您告诉它时运行(由事件、另一个查询、自定义 javascript 等触发)。