(optionType: MenuActionType | Category)
| 57 | } |
| 58 | |
| 59 | restoreMultiDefault(optionType: MenuActionType | Category) { |
| 60 | const keys = this.action.getKeys(optionType); |
| 61 | for (const key of keys) { |
| 62 | this.config.reset(key as Identifier); //带参时仅重置特定项 |
| 63 | } |
| 64 | } |
| 65 | |
| 66 | enumerateLayouts(isLeft: boolean) { |
| 67 | const index = layoutTypes.findIndex( |