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.
-
Enter the icon library
Click "Font Icon" under the personal icon to enter the icon library interface, where you can choose the icon that matches the module. -
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
icon class in the legend is "feather icon-copy". -
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:
Do not set the sequence of the menu to 0.
Author: Wu Chao