소스 검색

tomcat_res

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

+ 1 - 0
index.html

@@ -41,6 +41,7 @@
 		<label @click="changelang('en')">english</label>
 		<hr/>
 		<button @click="interface_web()">connect to tomcat</button>
+		<br/>
 		<h4>tomcat_res -> {{tomcat_res}}</h4>
 		<hr/>
 		<!--<input type="button" text="中文" @click="changelang('zh')"/>

+ 1 - 0
index.js

@@ -92,6 +92,7 @@ const app=createApp({
       console.log("parse tomcat server string");
       const res=JSON.parse(request.responseText);
       this.tomcat_res=res.message;
+      console.log("res.message:"+res.message);
       console.log("res:"+res);
       console.log("tomcat_res"+tomcat_res);
     };