diff --git a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java index e83ef10c0..d4661dd3d 100644 --- a/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java +++ b/ruoyi-system/src/main/java/com/ruoyi/system/domain/vo/MetaVo.java @@ -13,7 +13,7 @@ public class MetaVo private String title; /** - * 设置该路由的图标,对应路径src/icons/svg + * 设置该路由的图标,对应路径src/assets/icons/svg */ private String icon; diff --git a/ruoyi-ui/src/router/index.js b/ruoyi-ui/src/router/index.js index 59238d96e..70755e876 100644 --- a/ruoyi-ui/src/router/index.js +++ b/ruoyi-ui/src/router/index.js @@ -19,7 +19,7 @@ import Layout from '@/layout' * meta : { roles: ['admin','editor'] // 设置该路由进入的权限,支持多个权限叠加 title: 'title' // 设置该路由在侧边栏和面包屑中展示的名字 - icon: 'svg-name' // 设置该路由的图标,对应路径src/icons/svg + icon: 'svg-name' // 设置该路由的图标,对应路径src/assets/icons/svg breadcrumb: false // 如果设置为false,则不会在breadcrumb面包屑中显示 } */