未验证 提交 66fc1b78 编写于 作者: H HelKim 提交者: GitHub

fix(watermark): watermark causes a blank bar (#297)

上级 c6f9b0da
...@@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo ...@@ -33,7 +33,7 @@ export function useWatermark(appendEl: Ref<HTMLElement | null> = ref(document.bo
const div = document.createElement('div'); const div = document.createElement('div');
div.id = id; div.id = id;
div.style.pointerEvents = 'none'; div.style.pointerEvents = 'none';
div.style.top = '3px'; div.style.top = '0px';
div.style.left = '0px'; div.style.left = '0px';
div.style.position = 'absolute'; div.style.position = 'absolute';
div.style.zIndex = '100000'; div.style.zIndex = '100000';
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册