bunnyxt / tdd-frontend

The frontend of https://tdd.bunnyxt.com via vue.js.
7 stars 3 forks source link

Wrong highlight of item in nav bar #2

Closed bunnyxt closed 5 years ago

bunnyxt commented 5 years ago

Just like this.

QQ20190405-112821@2x

Maybe need to bind the selected property with now url?

bunnyxt commented 5 years ago

Due to tech complicity and design needs, I decide to remove highlight effect forever.

(in Header.vue)
.ant-menu.ant-menu-dark .ant-menu-item-selected {
  background-color: #001529;
}

However, in my local dev environment, I cannot see the effect. In product env on the server it works well. If I know how it happed and how to fix it I will reopen this issue.