AshleyLv / vue-quick-menu

This is web navigation component base on vue2.0+. It can be used in both PC and mobile.
MIT License
221 stars 45 forks source link

links #2

Closed OtezVikentiy closed 6 years ago

OtezVikentiy commented 6 years ago

Hello. I found a little problem IMHO on the links. Could you please insert this

<router-link :to="menuUrlList[n-1]" :target="openNewTab" :style="subMenuStyle" @mouseover.stop="mouseEnterSubMenu" @mouseout.stop="mouseOutSubMenu"> <i :class="iconClass[n-1]" ref="icon"></i> </router-link>

instead of this

<a :href="menuUrlList[n-1]" :target="openNewTab" :style="subMenuStyle" @mouseover.stop="mouseEnterSubMenu" @mouseout.stop="mouseOutSubMenu"> <i :class="iconClass[n-1]" ref="icon"></i> </a>

it would work better without reloading page )))

AshleyLv commented 6 years ago

fix it in v 1.0.7