Commit b16fa833 by cocomilk2012

update

parent 5cbdd282
......@@ -97,9 +97,9 @@ function getPathByTo(to, authcode_key) {
}
router.beforeEach((to, from, next) => {
// if (isOpenHttps === 'true' && location.href.startsWith('http://')) {
// location.href = location.href.replace('http://', 'https://');
// }
if (isOpenHttps === 'true' && location.href.startsWith('http://')) {
location.href = location.href.replace('http://', 'https://');
}
const requiresAuth = to.matched.some((record) => record.meta.requiresAuth);
//更改标题
if (to.meta.title) {
......
......@@ -200,7 +200,7 @@ export default class SelectIdentity extends Vue {
});
await this.getUserInfo();
if (this.id_no) {
await this.getDispatchList(); //这里是开启劳务派遣的开关
//await this.getDispatchList(); //这里是开启劳务派遣的开关
}
this.loading.clear();
}
......
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 sign in to comment