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;