Compare commits
3 Commits
6ef5d4575e
...
2565481306
Author | SHA1 | Date |
---|---|---|
lyc | 2565481306 | |
lyc | f708e2f741 | |
lyc | 94276db542 |
|
@ -182,9 +182,9 @@ watch(
|
||||||
|
|
||||||
|
|
||||||
const logout = () => {
|
const logout = () => {
|
||||||
const hasClass = sessionStore.has('activeClass.id')
|
|
||||||
const hasTool = sessionStore.get('isToolWin')
|
if(!!sessionstore.get('curr.classcourse'))return ElMessage.warning('当前正在上课,请先结束上课')
|
||||||
if (hasClass || hasTool) return ElMessage.warning('当前正在上课,请先结束上课')
|
|
||||||
ElMessageBox.confirm('确认退出系统吗?', '提示', {
|
ElMessageBox.confirm('确认退出系统吗?', '提示', {
|
||||||
confirmButtonText: '确定',
|
confirmButtonText: '确定',
|
||||||
cancelButtonText: '取消',
|
cancelButtonText: '取消',
|
||||||
|
@ -212,7 +212,7 @@ onMounted(() => {
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss">
|
||||||
.el-popover.popoverStyle{
|
.el-popover.popoverStyle{
|
||||||
min-width:120px;
|
min-width:120px;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue