mirror of
https://github.com/iczer/vue-antd-admin.git
synced 2025-04-06 03:57:44 +08:00
fix: the problem that side menu not work in IE; 🐛
修复:IE 浏览器下侧边栏不能正常工作的bug;
This commit is contained in:
parent
73d7febde3
commit
7f6b9e9599
@ -112,7 +112,7 @@ export default {
|
|||||||
return h(
|
return h(
|
||||||
Item, {key: menu.fullPath},
|
Item, {key: menu.fullPath},
|
||||||
[
|
[
|
||||||
h('a', {attrs: {href: '#' + menu.fullPath}},
|
h('router-link', {props: {to: menu.fullPath}},
|
||||||
[
|
[
|
||||||
this.renderIcon(h, menu.meta ? menu.meta.icon : 'none'),
|
this.renderIcon(h, menu.meta ? menu.meta.icon : 'none'),
|
||||||
h('span', [this.$t(menu.fullPath.substring(1).replace(new RegExp('/', 'g'), '.') + '.name')])
|
h('span', [this.$t(menu.fullPath.substring(1).replace(new RegExp('/', 'g'), '.') + '.name')])
|
||||||
|
Loading…
x
Reference in New Issue
Block a user