Skip to content

Commit 86a41fb

Browse files
committed
refactor: 更新 z-index 值
1 parent 028e182 commit 86a41fb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/BootstrapBlazor/Components/Watermark/Watermark.razor.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -90,7 +90,7 @@ const createWatermark = watermark => {
9090
div.style.opacity = '1';
9191
div.style.position = 'absolute';
9292
div.style.inset = '0';
93-
div.style.zIndex = '999';
93+
div.style.zIndex = '9999';
9494
div.classList.add("bb-watermark-bg");
9595

9696
const mark = el.querySelector('.bb-watermark-bg');
@@ -138,7 +138,7 @@ const monitor = watermark => {
138138
clearWatermark(watermark);
139139
return;
140140
}
141-
if (zIndex !== '999') {
141+
if (zIndex !== '9999') {
142142
clearWatermark(watermark);
143143
return;
144144
}

0 commit comments

Comments
 (0)