Commit 1e4e38f6 by 无尘

fix: 修改 a 标签ie不跳转

parent 0b5c58ee
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<a <a
:key="index" :key="index"
:class="['itemlink bottom menu-mall menu-font-16',pathName == menuitem.url? 'current-module':'']" :class="['itemlink bottom menu-mall menu-font-16',pathName == menuitem.url? 'current-module':'']"
:href="'#'+menuitem.url" > @click="changeRouter(menuitem.url)" >
{{menuitem.rightName}} {{menuitem.rightName}}
</a> </a>
</template> </template>
...@@ -83,6 +83,13 @@ ...@@ -83,6 +83,13 @@
} }
}, },
methods: { methods: {
/**
* 路由跳转
*/
changeRouter(path) {
let that = this;
that.$router.push(path);
},
// 处理折叠 // 处理折叠
handleCollapse() { handleCollapse() {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment