nocobase/docs/en-US/manual/core-concepts/menus.md
chenos a6eebb940f
feat: update docs (#990)
* feat: improve code

* feat: update docs

* feat: update docs

* Update index.md

* Update features.md

* Update when.md

* Update contributing.md

* Update translations.md

* feat: clean up

* Add files via upload

* Update the-first-app.md

* Update plugins.md

* Update a-b-c.md

* Update blocks.md

* feat: update docs

* Add files via upload

* Update charts.md

* feat: update navs

* Update index.md

* Update index.md

* Update features.md

* Update index.md

* Update docker-compose.md

* Update create-nocobase-app.md

* Update git-clone.md

* Update contributing.md

* Update translations.md

* Update plugins.md

* Update the-first-app.md

* Add files via upload

* Update charts.md

* Update charts.md

* Update a-b-c.md

* Update collections.md

* Update menus.md

* Update menus.md

Co-authored-by: Zhou <zhou.working@gmail.com>
2022-10-31 11:52:17 +08:00

1.6 KiB
Executable File

Menus

The default menu location for NocoBase is at the top and on the left. The top is the first level menu and the left side is the menu for the second level and lower levels.

Three types of menu items are supported.

  • Menu groups
  • Pages
  • Links

Once you enter the UI Editor mode, you can add and edit menus, as well as sort menu items.

NocoBase currently supports three types of menu items.

  • Page: jumps to the content page the menu item is associated.
  • Group: grouping menu items and placing similar menus in a uniform location.
  • Link: jumps to a specified URL.

Take the warehouse system as an example, if you have storage management in your business, storage management contains in and out logs, inventory queries, jump to the ERP application storage and other functions. Then you can set the menu like this.

- Storage space management (grouping)
    - Inventory query (page)
    - Inbound and outbound log (page)
    - Jump ERP application storage space (link)

Default position

In NocoBase's built-in page templates, the menu appears at the top and on the left.

menu-position.jpg

Add Menu Item

5.menu-add.jpg

Click Add menu item to select the type to add. Support infinite level submenu.

Configure and Sort

Move the cursor over the menu item and the Sort and Configure buttons will appear in the upper right corner. Press and hold the Sort button to drag and drop the sorting.

Configurations that are operable on menu items:

  • Edit
  • Move to
  • Insert before
  • Insert after
  • Insert Inner
  • Delete

menu-move.gif