Refactor #4196 - For TabMenu
parent
604d695bba
commit
480f10eaf7
|
@ -87,9 +87,9 @@ export interface TabMenuState {
|
|||
*/
|
||||
export interface TabMenuContext {
|
||||
/**
|
||||
* Order of the menuitem
|
||||
* Index of the menuitem
|
||||
*/
|
||||
order: number;
|
||||
index: number;
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
|
@ -101,7 +101,7 @@ export default {
|
|||
getPTOptions(key, index) {
|
||||
return this.ptm(key, {
|
||||
context: {
|
||||
order: index
|
||||
index
|
||||
}
|
||||
});
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue