zhouna hace 5 años
padre
commit
f76b203c21
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/js/api.js

+ 1 - 1
src/js/api.js

@@ -6,7 +6,7 @@ const api = {
   getTree:'/api/ltkg/kg/getTree'
 };
 
-const getUrlArgObject = function(name) {
+const getUrlArgObject = function(name) {//
   var reg = new RegExp("(^|&)" + name + "=([^&]*)(&|$)", "i");
   var reg_rewrite = new RegExp("(^|/)" + name + "/([^/]*)(/|$)", "i");
   var r = window.location.search.substr(1).match(reg);