mixins.js 301 Bytes Edit Raw Blame History 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 import { getToken } from '@/utils/auth' import { BASE_URL } from '@/common/config' export default { data() { return { Authorization: '', BASE_URL: BASE_URL }; }, created() { this.Authorization = getToken(); }, methods: { } }