API Reference > @next-core/brick-types > UpdateQueryOptions
UpdateQueryOptions interface
更新 query 参数时的选项
Signature:
export interface UpdateQueryOptions extends PluginHistoryState
Extends: PluginHistoryState
Properties
| Property | Type | Description |
|---|---|---|
| clear | boolean | 是否同时清除当前的所有其它 query 参数。 |
| extraQuery | Record<string, unknown> | 额外要更新的 query 参数。 |
| keepHash | boolean | 是否保留当前 hash 参数。 |