zhejiushizhuce 1 년 전
부모
커밋
de8fa7ccbc
1개의 변경된 파일과 1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/layout/Footer/index.jsx

+ 1 - 1
src/layout/Footer/index.jsx

@@ -24,7 +24,7 @@ const Footer=()=>{
                 let htmlstr=ganj.innerHTML;
                 let host=window.location.host;
                 let main_host="www.24680.com";
-                if (htmlstr!=null){
+                if (htmlstr!=null&&htmlstr.indexOf(main_host)===-1){
                     htmlstr=htmlstr.replaceAll(host,main_host);
                 }
                 anjRef.current['innerHTML']=htmlstr;