修改大屏菜单跳转
parent
15edbca46e
commit
602ec947e4
|
@ -247,6 +247,9 @@ export default {
|
||||||
case 702:
|
case 702:
|
||||||
this.$router.push("/bimRoaming");
|
this.$router.push("/bimRoaming");
|
||||||
break;
|
break;
|
||||||
|
case 701:
|
||||||
|
this.$router.push("/bimManage");
|
||||||
|
break;
|
||||||
case 102:
|
case 102:
|
||||||
this.$router.push("/labor");
|
this.$router.push("/labor");
|
||||||
break;
|
break;
|
||||||
|
@ -399,7 +402,7 @@ export default {
|
||||||
transform: scale(1.5) !important;
|
transform: scale(1.5) !important;
|
||||||
margin-right: 60px !important;
|
margin-right: 60px !important;
|
||||||
|
|
||||||
width: 260px !important;
|
width: 220px !important;
|
||||||
right: 10px !important;
|
right: 10px !important;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,11 @@
|
||||||
import Vue from "vue";
|
import Vue from "vue";
|
||||||
import VueRouter from "vue-router";
|
import VueRouter from "vue-router";
|
||||||
|
|
||||||
|
const originalPush = VueRouter.prototype.push
|
||||||
|
// 解决ElementUI导航栏中的vue-router在3.0版本以上重复点菜单报错问题
|
||||||
|
VueRouter.prototype.push = function push(location) {
|
||||||
|
return originalPush.call(this, location).catch(err => err)
|
||||||
|
}
|
||||||
Vue.use(VueRouter);
|
Vue.use(VueRouter);
|
||||||
|
|
||||||
const routes = [
|
const routes = [
|
||||||
|
|
Loading…
Reference in New Issue