去掉console

This commit is contained in:
小芹菜 2022-07-03 18:30:45 +08:00
parent 5639d0e091
commit bec778ecde
4 changed files with 1 additions and 4 deletions

View File

@ -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)
}

View File

@ -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" || "/" });

View File

@ -627,7 +627,6 @@ export default {
};
},
created() {
console.log(getToken());
this.fetchData();
},
methods: {

View File

@ -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 = {