Adding method of DTCloud middle platform menu icon

In the updated dtcloud framework, the icon of the menu is introduced, which is displayed on the left side of the menu. The method steps added are given here.

  1. Enter the icon library
    insert image description here
    Click "Font Icon" under the personal icon to enter the icon library interface, where you can choose the icon that matches the module.

  2. Icon selection
    In the icon library interface, press F12 to open the development tool, perform element inspection, and obtain the class of the corresponding icon. The
    insert image description here
    icon class in the legend is "feather icon-copy".

  3. Menu configuration
    Add the parameter font_icon to the menu configuration label menuitem, the "sidenav-icon" in the parameter value is a fixed value,
    followed by a space, just add the class of the icon. As follows:
    insert image description here
    Do not set the sequence of the menu to 0.

Author: Wu Chao

Guess you like

Origin blog.csdn.net/ekcchina/article/details/130314284