Compare commits
No commits in common. "25654813061cab1be032513ba53972610d3eebf9" and "6ef5d4575eaaba5fbd7507c1285d289df0dd5349" have entirely different histories.
2565481306
...
6ef5d4575e
|
@ -182,9 +182,9 @@ watch(
|
|||
|
||||
|
||||
const logout = () => {
|
||||
|
||||
if(!!sessionstore.get('curr.classcourse'))return ElMessage.warning('当前正在上课,请先结束上课')
|
||||
|
||||
const hasClass = sessionStore.has('activeClass.id')
|
||||
const hasTool = sessionStore.get('isToolWin')
|
||||
if (hasClass || hasTool) return ElMessage.warning('当前正在上课,请先结束上课')
|
||||
ElMessageBox.confirm('确认退出系统吗?', '提示', {
|
||||
confirmButtonText: '确定',
|
||||
cancelButtonText: '取消',
|
||||
|
|
Loading…
Reference in New Issue