mirror of
https://gitee.com/wot-design-uni/wot-design-uni.git
synced 2025-12-07 17:48:34 +08:00
refactor: ♻️ Overlay增加导入useLockScroll的条件编译
This commit is contained in:
parent
31353ceafa
commit
dae135df90
@ -24,8 +24,10 @@ export default {
|
|||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
import wdTransition from '../wd-transition/wd-transition.vue'
|
import wdTransition from '../wd-transition/wd-transition.vue'
|
||||||
import useLockScroll from '../composables/useLockScroll'
|
|
||||||
import { overlayProps } from './types'
|
import { overlayProps } from './types'
|
||||||
|
// #ifdef H5
|
||||||
|
import useLockScroll from '../composables/useLockScroll'
|
||||||
|
// #endif
|
||||||
|
|
||||||
const props = defineProps(overlayProps)
|
const props = defineProps(overlayProps)
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user