wangshan преди 1 година
родител
ревизия
b3f7e068ad
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      src/web/templates/pc/reloadTo.html

+ 1 - 1
src/web/templates/pc/reloadTo.html

@@ -12,7 +12,7 @@
     var targetPattern = /\/content\/(.+?)\./; // 匹配目标字符串
     var match = transfer.match(targetPattern);
     if (match && match[1]) {
-      window.location.href = match[1];
+      window.location.href = transfer.replace(/\/content\/(.+?)\./, "/content/" + match[1] + ".");
       return
     }
     window.location.href = {{.T.transfer}};