|
@@ -1,6 +1,9 @@
|
|
|
import { reactive, ref, computed, watch, toRefs, onMounted, onBeforeUnmount } from 'vue'
|
|
|
import { useRouter, useRoute } from 'vue-router'
|
|
|
import bus from '@/utils/bus'
|
|
|
+import useMainStore from '@/store/main'
|
|
|
+
|
|
|
+const mainStore = useMainStore()
|
|
|
function getParentNodeIsScroll(el: any): any {
|
|
|
if (el.className.includes('scroll-auto')) {
|
|
|
return el
|
|
@@ -67,6 +70,10 @@ const useMarkHeader = () => {
|
|
|
bus.emit('showStandard')
|
|
|
}
|
|
|
function markKeyBoardEvents(e: any) {
|
|
|
+ if (mainStore.markerPausedLimit > 0) {
|
|
|
+ //暂停评卷状态时,禁用快捷键评卷
|
|
|
+ return false
|
|
|
+ }
|
|
|
if (e.key === 'F7') {
|
|
|
e.preventDefault()
|
|
|
bus.emit('scale-up')
|