|
|
@ -7,6 +7,8 @@ |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
//import { getToken } from "@/utils/cookie";
|
|
|
|
//import { getToken } from "@/utils/cookie";
|
|
|
|
import store from '@/store' |
|
|
|
import store from '@/store' |
|
|
|
|
|
|
|
// import { useRoute } from 'vue-router'
|
|
|
|
|
|
|
|
|
|
|
|
export const mixins = { |
|
|
|
export const mixins = { |
|
|
|
data() { |
|
|
|
data() { |
|
|
|
return { |
|
|
|
return { |
|
|
@ -17,7 +19,8 @@ export const mixins = { |
|
|
|
com_node_env: process.env.VUE_APP_ENV || 'production', |
|
|
|
com_node_env: process.env.VUE_APP_ENV || 'production', |
|
|
|
com_pass_url: process.env.VUE_APP_PASS_URL || 'https://fanruanclub.com', |
|
|
|
com_pass_url: process.env.VUE_APP_PASS_URL || 'https://fanruanclub.com', |
|
|
|
com_cert_url:process.env.VUE_APP_CERT_URL || 'https://cert.fanruan.com', |
|
|
|
com_cert_url:process.env.VUE_APP_CERT_URL || 'https://cert.fanruan.com', |
|
|
|
com_jump_url:encodeURIComponent(window.location.href) |
|
|
|
com_jump_url:encodeURIComponent(window.location.href), |
|
|
|
|
|
|
|
com_login_url:process.env.VUE_APP_ID_URL+'/signin/'+'?app=edu&protocol=cas&referrer='+window.location.href |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
created() { |
|
|
|
created() { |
|
|
|