|
|
@ -20,9 +20,10 @@ export default { |
|
|
|
const { typeId,menuVisible } = to |
|
|
|
const { typeId,menuVisible } = to |
|
|
|
console.log('typeId=>' ,typeId) |
|
|
|
console.log('typeId=>' ,typeId) |
|
|
|
console.log('to=>' ,to) |
|
|
|
console.log('to=>' ,to) |
|
|
|
|
|
|
|
console.log('menuVisible=>' ,menuVisible) |
|
|
|
// 跳转链接
|
|
|
|
// 跳转链接
|
|
|
|
if (typeId === 2) { |
|
|
|
if (typeId === 2) { |
|
|
|
if ( menuVisible === 1) return |
|
|
|
if ( menuVisible === 1 || to.children.find(i=>i.menuVisible ===1)) return |
|
|
|
let href = to.linkAddress |
|
|
|
let href = to.linkAddress |
|
|
|
const cType = to.connectionType |
|
|
|
const cType = to.connectionType |
|
|
|
if (cType !== 2) { // 非站外链接
|
|
|
|
if (cType !== 2) { // 非站外链接
|
|
|
|