mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-26 01:33:05 +00:00
fix: event
This commit is contained in:
parent
b758c9ef91
commit
9e5352b8d7
|
|
@ -16,7 +16,7 @@ import bus from '@/bus'
|
|||
import { ref, nextTick, onMounted } from 'vue'
|
||||
import { t } from '@/locales'
|
||||
const isOpen = ref<boolean>(false)
|
||||
const eventVal = ref()
|
||||
const eventVal = ref<any>({})
|
||||
function getSelection() {
|
||||
const selection = window.getSelection()
|
||||
if (selection && selection.anchorNode == null) {
|
||||
|
|
|
|||
Loading…
Reference in New Issue