Przeglądaj źródła

中文编码

master
jueyue 4 lat temu
rodzic
commit
69a337e3cd
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      easypoi-wps/src/main/resources/META-INF/resources/easypoi-preview.html

+ 1
- 1
easypoi-wps/src/main/resources/META-INF/resources/easypoi-preview.html Wyświetl plik

@@ -28,7 +28,7 @@
function getUrlParam(name) {
var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)"); //构造一个含有目标参数的正则表达式对象
var r = window.location.search.substr(1).match(reg); //匹配目标参数
if (r != null) return unescape(r[2]);
if (r != null) return decodeURI(r[2]);
return null; //返回参数值
}
</script>


Ładowanie…
Anuluj
Zapisz