소스 검색

message get

night-cherry 1 개월 전
부모
커밋
7b0403e181
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      index.js

+ 1 - 1
index.js

@@ -91,7 +91,7 @@ const app=createApp({
     request.onload=function(){
       console.log("parse tomcat server string");
       const res=JSON.parse(request.responseText);
-      this.tomcat_res=res;
+      this.tomcat_res=res["message"];
       console.log("res:"+res);
     };
     request.open("POST","http://ancientapes.cc:8080/mineluxuries/book");