Commit 50a0bf8d authored by YIyiyi's avatar YIyiyi

pref:新增登录页返回判断

parent 812d38e1
......@@ -220,7 +220,7 @@
</template>
<!-- 电话 -->
<template slot="mobile" slot-scope="text">
<span>{{ text.mobile ? text.mobile : "--" }}</span>
<span>{{ text.mobile || text.phone || "--" }}</span>
</template>
<!-- 称号 -->
<template slot="dangyuan" slot-scope="text">
......
# 开发环境配置
NODE_ENV = development
VUE_APP_API_BASE_URL=http://192.168.0.98:11078
#VUE_APP_API_BASE_URL=http://192.168.0.98:11078
#宜宾
VUE_APP_API_BASE_URL=http://10.12.185.213:11072
......@@ -67,6 +67,12 @@ export default {
},
};
},
created() {
let token = this.$Storage.get(2, "Authorization");
if (token) {
this.$router.push("/home/dataManagement/dataAdmin");
}
},
methods: {
// ...mapMutations("user", ["SET_USERDATA"]),
// ...mapActions("user", ["getCensusList", "getAppsList"]),
......
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