|
@@ -88,7 +88,7 @@ const mutations = {
|
|
|
const actions = {
|
|
|
login({ commit }) { //, dispatch
|
|
|
return new Promise((resolve, reject) => {
|
|
|
- let loginType = window.topU.U.UF.Cookie.get("cocoroboLoginType");
|
|
|
+ let loginType = window.topU ? window.topU.U.UF.Cookie.get("cocoroboLoginType") : window.top.U.UF.Cookie.get("cocoroboLoginType");
|
|
|
if(loginType != 1){
|
|
|
eduGet()
|
|
|
.then((response) => {
|