Commit 4ee6632a authored by xinzhedeai's avatar xinzhedeai

科技园 按钮显隐处李

parent 9c6a70ca
......@@ -140,6 +140,7 @@
export default {
data() {
return {
isTechUser: false,
// 图表数据为空情况
emptyFlag4byqyjnzsrphb: false,
emptyFlag4srph: false,
......@@ -161,13 +162,13 @@ emptyFlag4byqyndsjsfbhqs:false,
},
components: { cuAmap },
computed: {
isTechUser() {
return localStorage.getItem("groupIdByloginType") * 1 === 2;
},
// isTechUser() {
// return localStorage.getItem("groupIdByloginType") * 1 === 2;
// },
},
mounted() {
var that = this;
this.$nextTick(() => {
this.$nextTick(() => {
/**
* 1、地图渲染
* 1-1、地图坐标点定位回显,marker事件添加
......@@ -198,6 +199,7 @@ emptyFlag4byqyndsjsfbhqs:false,
"groupIdByloginType",
res.user.jobs.length && res.user.jobs[0]["id"]
);
this.isTechUser = Tools.isHighTech();
} else {
location = "/login";
}
......
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