sunny 1 тиждень тому
батько
коміт
8ed2ea0f97
1 змінених файлів з 4 додано та 2 видалено
  1. 4 2
      ruoyi-ui/src/layout/components/Sidebar/Item.vue

+ 4 - 2
ruoyi-ui/src/layout/components/Sidebar/Item.vue

@@ -21,10 +21,12 @@ export default {
     const { icon, title, path } = context.props;
     const vnodes = [];
 
-    if (icon) {
+    if (icon != "#") {
       vnodes.push(<svg-icon icon-class={icon} />);
+    }else {
+      vnodes.push(<span style="margin-left:15px"></span>);
     }
-
+    
     if (title) {
       if (title.length > 5) {
         vnodes.push(