소스 검색

history filer done

ming 3 년 전
부모
커밋
3fc747acb1
2개의 변경된 파일1개의 추가작업 그리고 5개의 파일을 삭제
  1. 0 1
      api/static/script_util.js
  2. 1 4
      api/templates/script_index.js

+ 0 - 1
api/static/script_util.js

@@ -143,7 +143,6 @@ $(".gen_avatar").click(function () {
       console.error(error)
     }
   });
-
 });
 
 var loaded_data = ''

+ 1 - 4
api/templates/script_index.js

@@ -15,9 +15,6 @@ $("#btn_login").click(function () {
       window.location.replace("/index")
     }
   };
-  var data = "grant_type=&username=" + $('#username').val() + "&password=qwe&scope=&client_id=&client_secret=";
+  var data = "grant_type=&username=" + $('#username').val() + "&password="+$('#password').val()+"&scope=&client_id=&client_secret=";
   xhr.send(data);
 });
-
-
-