优化页面,去掉多余的打印
This commit is contained in:
@@ -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 } }
|
||||
|
||||
Reference in New Issue
Block a user