mirror of
https://github.com/doocs/md.git
synced 2024-11-24 19:10:34 +08:00
fix: type check (#416)
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
All checks were successful
Build and Deploy / build-and-deploy (push) Has been skipped
This commit is contained in:
parent
d8a3d06330
commit
8e93889ae4
@ -1,5 +1,5 @@
|
||||
<script setup lang="ts">
|
||||
import { nextTick, ref } from 'vue'
|
||||
import { ref } from 'vue'
|
||||
import { storeToRefs } from 'pinia'
|
||||
|
||||
import StyleOptionMenu from './StyleOptionMenu.vue'
|
||||
|
@ -219,7 +219,7 @@ export function exportHTML() {
|
||||
return (
|
||||
element.tagName === `SPAN`
|
||||
&& (isCode(element.parentElement)
|
||||
|| isCode((element.parentElement!).parentElement))
|
||||
|| isCode((element.parentElement!).parentElement))
|
||||
)
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user