Source/UBCS-WEB/src/page/login/sso.vue
@@ -23,7 +23,10 @@ methods: { onLoad() { this.PathString=this.$route.query.empCode; //URL传递参数时 会将字符串中的 %2B 也就是+号转换为空格。 this.PathString = decodeURIComponent(this.$route.query.empCode.replace(/\s/g, '+')); //console.log(this.$route); //console.log(this.PathString); this.$store.dispatch("LoginBySso", { PathString: this.PathString }).then((res) => { console.log('res', res) this.$router.push({ path: this.tagWel.value });