Commit b16fa833 by cocomilk2012

update

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