优化页面,去掉多余的打印

This commit is contained in:
季圣华
2021-06-18 21:25:00 +08:00
parent a13fcfcd21
commit 74c87d8d29
5 changed files with 128 additions and 128 deletions

View File

@@ -103,8 +103,8 @@ export default {
return null
},
renderMenuItem (menu) {
// const target = menu.meta.target || null
// const tag = target && 'a' || 'router-link'
const target = null
const tag = target && 'a' || 'router-link'
let props = { to: { name: menu.name } }
if(menu.route && menu.route === '0'){
props = { to: { path: menu.path } }