Commit c531bcda authored by 肖健's avatar 肖健

导航栏bug修复

parent 2a3acee3
...@@ -24,6 +24,11 @@ export default { ...@@ -24,6 +24,11 @@ export default {
}, },
methods: { methods: {
tabChange(index) { tabChange(index) {
//为2的时候是扫一扫图标,不能选中,但是要触发它对应的事件
if(index == 2) {
this.$emit('tabChange',index)
return;
}
if (index === this.current) { if (index === this.current) {
return; return;
} }
......
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