Skip to content

Commit

Permalink
chore: resolve Conflicts
Browse files Browse the repository at this point in the history
  • Loading branch information
Wesley-0808 committed Feb 19, 2025
1 parent 95eb4df commit a324c8d
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/components/dialog/dialog.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,9 @@ export default defineComponent({
}
return [];
});
const wrapClass = computed(() => [`${COMPONENT_NAME.value}__wrap`]);
const wrapClass = computed(() =>
isFullScreen.value || isModal.value || isModeLess.value ? [`${COMPONENT_NAME.value}__wrap`] : null,
);
const positionStyle = computed(() => {
if (isFullScreen.value) return {}; // 全屏模式,top属性不生效

Expand Down

0 comments on commit a324c8d

Please sign in to comment.