diff --git a/src/uni_modules/wot-design-uni/components/wd-drop-menu-item/wd-drop-menu-item.vue b/src/uni_modules/wot-design-uni/components/wd-drop-menu-item/wd-drop-menu-item.vue index a88f5b0a..04a687f2 100644 --- a/src/uni_modules/wot-design-uni/components/wd-drop-menu-item/wd-drop-menu-item.vue +++ b/src/uni_modules/wot-design-uni/components/wd-drop-menu-item/wd-drop-menu-item.vue @@ -78,7 +78,6 @@ const showWrapper = ref(false) const showPop = ref(false) const position = ref() const zIndex = ref(12) -const modal = ref(true) const duration = ref(0) const { parent: dropMenu } = useParent(DROP_MENU_KEY) @@ -186,7 +185,6 @@ function handleOpen() { showWrapper.value = true showPop.value = true if (dropMenu) { - modal.value = Boolean(dropMenu.props.modal) duration.value = Number(dropMenu.props.duration) position.value = dropMenu.props.direction === 'down' ? 'top' : 'bottom' } diff --git a/src/uni_modules/wot-design-uni/components/wd-drop-menu/wd-drop-menu.vue b/src/uni_modules/wot-design-uni/components/wd-drop-menu/wd-drop-menu.vue index 652b323b..92b94128 100644 --- a/src/uni_modules/wot-design-uni/components/wd-drop-menu/wd-drop-menu.vue +++ b/src/uni_modules/wot-design-uni/components/wd-drop-menu/wd-drop-menu.vue @@ -1,6 +1,14 @@