night-cherry 1 сар өмнө
parent
commit
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);
     };