This commit is contained in:
caishi 2020-06-15 15:34:11 +08:00
parent 75a612391c
commit 833f1bfe1a
1 changed files with 1 additions and 1 deletions

View File

@ -30,7 +30,7 @@ if (isDev) {
}
debugType = window.location.search.indexOf('debug=t') !== -1 ? 'teacher' :
window.location.search.indexOf('debug=s') !== -1 ? 'student' :
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || ''
window.location.search.indexOf('debug=a') !== -1 ? 'admin' : parsed.debug || 'admin'
}
function clearAllCookie() {
cookie.remove('_educoder_session', { path: '/' });