Commit 52e7a72e authored by “yiyousong”'s avatar “yiyousong”

pref:修改菜单渲染

parent c3e7c92f
......@@ -22,7 +22,7 @@
<template v-for="v in menus">
<!-- 有子路由 -->
<el-submenu
v-if="!v.hideChildrenInMenu && v.children.length"
v-if="!v.hideChildrenInMenu && v.children && v.children.length"
:key="'a' + v.path"
:index="v.path"
>
......@@ -74,7 +74,7 @@ export default {
return {
systemName: process.env.VUE_APP_sysName,
api: process.env.VUE_APP_API_IMG_URL,
portal: process.env.VUE_APP_API_portal_URL+'/#',
portal: process.env.VUE_APP_API_portal_URL + "/#",
};
},
computed: {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment