跳到主要内容

launchpad-config

Insider
<nav.launchpad-config>

构件 nav.launchpad-config

Properties

NameDescriptionTypeDefaultRequired
menuGroupsConfigMenuGroup[]
actionsMenuAction[]

Events

NameDescriptionEvent Detail
action.clickMenuActionEventDetail

Type references

ConfigMenuGroup

extends ConfigMenuBase
NameTypeRequiredDescription
ordernumber
itemsConfigMenuItem[]

ConfigMenuItemApp

extends ConfigMenuItemBase
NameTypeRequiredDescription
type"app"
urlstring
localesAppLocales

ConfigMenuItemBase

extends ConfigMenuBase
NameTypeRequiredDescription
type"app" | "custom" | "dir"
menuIconExclude<MenuIcon, LegacyAntdIcon>
positionnumber

ConfigMenuBase

NameTypeRequiredDescription
idstring
namestring
instanceIdstring

ConfigMenuItemCustom

extends ConfigMenuItemBase
NameTypeRequiredDescription
type"custom"
urlstring

ConfigMenuItemDir

extends ConfigMenuItemBase
NameTypeRequiredDescription
type"dir"
itemsConfigMenuItemNormal[]

MenuSimpleAction

NameTypeRequiredDescription
textstring
eventstring
ifunknown
dangerboolean

MenuActionDivider

NameTypeRequiredDescription
ifunknown
type"divider"

MenuActionEventDetail

NameTypeRequiredDescription
dataConfigMenuGroup | ConfigMenuItem
actionMenuSimpleAction

ConfigMenuItem

ConfigMenuItemNormal | ConfigMenuItemDir

ConfigMenuItemNormal

ConfigMenuItemApp | ConfigMenuItemCustom

MenuAction

MenuSimpleAction | MenuActionDivider