【fix ESLint】src/components/menu
This commit is contained in:
@@ -134,7 +134,7 @@ export default {
|
|||||||
},
|
},
|
||||||
renderMenuItem (menu) {
|
renderMenuItem (menu) {
|
||||||
const target = menu.meta.target || null
|
const target = menu.meta.target || null
|
||||||
const tag = target && 'a' || 'router-link'
|
const tag = (target && 'a') || 'router-link'
|
||||||
let props = { to: { name: menu.name } }
|
let props = { to: { name: menu.name } }
|
||||||
if (menu.route && menu.route === '0') {
|
if (menu.route && menu.route === '0') {
|
||||||
props = { to: { path: menu.path } }
|
props = { to: { path: menu.path } }
|
||||||
|
|||||||
Reference in New Issue
Block a user