You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
使用邮箱注册登录后就报错
Uncaught TypeError: cookie.set is not a function
at Object.exports.logInRedirectWithData (main.8e1ef4e1.js:1654)
at Object.ajax.emailSignIn.success (main.8e1ef4e1.js:4093)
at Reqwest._successHandler (main.8e1ef4e1.js:2494)
at success (main.8e1ef4e1.js:2558)
at XMLHttpRequest. (main.8e1ef4e1.js:2303)
使用邮箱注册登录后就报错
Uncaught TypeError: cookie.set is not a function
at Object.exports.logInRedirectWithData (main.8e1ef4e1.js:1654)
at Object.ajax.emailSignIn.success (main.8e1ef4e1.js:4093)
at Reqwest._successHandler (main.8e1ef4e1.js:2494)
at success (main.8e1ef4e1.js:2558)
at XMLHttpRequest. (main.8e1ef4e1.js:2303)
报错行 倒数第四行
exports.logInRedirectWithData = function(account) {
var cookieConfigs, ref;
cookieConfigs = {
domain: config.cookieDomain,
expires: 7,
path: '/'
};
cookie.set('trackingPage', 'login', cookieConfigs);
cookie.set('trackingPageLabel', "from " + account, cookieConfigs);
cookie.set('trackingPageTime', (ref = window.performance) != null ? ref.timing.navigationStart : void 0, cookieConfigs);
return exports.signInRedirect();
};
貌似只有这个cookie.set报错,其他都不报错。这个可能需要 cookie.cookie.set ,求教中
The text was updated successfully, but these errors were encountered: