mirror of
https://github.com/Teamlinker/Teamlinker.git
synced 2025-06-03 03:00:17 +00:00
去掉console
This commit is contained in:
parent
5639d0e091
commit
bec778ecde
@ -16,7 +16,6 @@ export function getToken() {
|
||||
|
||||
export function setToken(token) {
|
||||
const tokenT = 'Bearer ' + token
|
||||
console.log('auth.js',tokenT)
|
||||
return Cookies.set(TokenKey, tokenT)
|
||||
}
|
||||
|
||||
|
@ -110,7 +110,6 @@ export default {
|
||||
let orgId = this.$route.query.orgId;
|
||||
if(token && orgId){
|
||||
localStorage.setItem("organizationid", orgId);
|
||||
console.log('login------',token)
|
||||
setToken(token);
|
||||
// window.location.reload();
|
||||
this.$router.push({ path: "/dashboard" || "/" });
|
||||
|
@ -627,7 +627,6 @@ export default {
|
||||
};
|
||||
},
|
||||
created() {
|
||||
console.log(getToken());
|
||||
this.fetchData();
|
||||
},
|
||||
methods: {
|
||||
|
@ -229,7 +229,7 @@ export default defineComponent({
|
||||
let orgId = sessionStorage.getItem("orgId");
|
||||
let url = `http://175.27.166.37/admin.html#/login?token=${token}&orgId=${orgId}`;
|
||||
// let url = `http://localhost:9528/#/login?token=${token}&orgId=${orgId}`;
|
||||
window.open(url, "_self");
|
||||
window.open(url, "_blank");
|
||||
};
|
||||
const getTeamList = () => {
|
||||
const params = {
|
||||
|
Loading…
Reference in New Issue
Block a user