zhejiushizhuce 1 жил өмнө
parent
commit
de8fa7ccbc

+ 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;