Skip to main content
Version: 2.x

API Reference > @next-core/brick-types > UpdateQueryOptions

UpdateQueryOptions interface

更新 query 参数时的选项

Signature:

export interface UpdateQueryOptions extends PluginHistoryState

Extends: PluginHistoryState

Properties

PropertyTypeDescription
clearboolean是否同时清除当前的所有其它 query 参数。
extraQueryRecord<string, unknown>额外要更新的 query 参数。
keepHashboolean是否保留当前 hash 参数。