Merge pull request #412 from paynezhuang/fix/menu_fixedInIndex
fix(projects): menu fixedIndexInTab default null and Tab fixedIndex
This commit is contained in:
commit
42f950f819
2
src/typings/api.d.ts
vendored
2
src/typings/api.d.ts
vendored
@ -220,7 +220,7 @@ declare namespace Api {
|
||||
/** By default, the same route path will use one tab, if set to true, it will use multiple tabs */
|
||||
multiTab?: boolean;
|
||||
/** If set, the route will be fixed in tabs, and the value is the order of fixed tabs */
|
||||
fixedIndexInTab?: number;
|
||||
fixedIndexInTab?: number | null;
|
||||
/** if set query parameters, it will be automatically carried when entering the route */
|
||||
query: Record<string, string>;
|
||||
/** menu buttons */
|
||||
|
@ -105,7 +105,7 @@ function createDefaultModel(): Model {
|
||||
keepAlive: false,
|
||||
href: '',
|
||||
multiTab: false,
|
||||
fixedIndexInTab: 0,
|
||||
fixedIndexInTab: null,
|
||||
roles: [],
|
||||
buttons: [],
|
||||
query: {}
|
||||
|
Loading…
Reference in New Issue
Block a user