Commit ecc06279 authored by 崔佳豪's avatar 崔佳豪

fix: 云平台水印

parent 72c2667c
Pipeline #54529 passed with stages
......@@ -306,7 +306,7 @@ const Layout = (props) => {
useEffect(() => {
const needMark = () =>
// (props.global.isHaveMark || window.location.origin.replace(/^(http|https):\/\//, '') === 'panda-water.cn') &&
(props.global.isHaveMark || window.location.origin.replace(/^(http|https):\/\//, '') === 'panda-water.cn') &&
document.querySelectorAll('.pandawatermark_mask_div').length <= 0 &&
props.global.userInfo
if(needMark()) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment