mixins.js
341 Bytes
import {
getToken
} from '@/utils/auth'
import { BASE_URL } from '@/common/config'
export default {
data() {
return {
Authorization: '',
BASE_ROOT_DOMAIN: BASE_URL,
BASE_URL: BASE_URL
};
},
created() {
this.Authorization = getToken();
},
methods: {
}
}