chore(fullscreen): 删除部分测试内容

This commit is contained in:
sight 2022-03-05 15:49:47 +08:00
parent 7b99ca91fb
commit a2b7db1418

View File

@ -20,10 +20,6 @@ export interface LayFullscreenProps {
immersive?: boolean;
position?: string;
zIndex?: string;
// top?: string;
// left?: string;
// width?: string;
// height?: string;
}
const props = withDefaults(defineProps<LayFullscreenProps>(), {
@ -182,11 +178,6 @@ const styleLayFullscreen = function (
) {
el.style.position = isRemove ? "" : props.position || "";
el.style.zIndex = isRemove ? "" : props.zIndex || "";
//
// el.style.top = isRemove ? "" : (props.top || "");
// el.style.left = isRemove ? "" : (props.left || "");
// el.style.width = isRemove ? "" : (props.width || "");
// el.style.height = isRemove ? "" : (props.height || "");
};
const activeEl = computed(() => (targetEl.value = props.target));