night-cherry 1 mēnesi atpakaļ
vecāks
revīzija
482cfb6286
1 mainītis faili ar 2 papildinājumiem un 1 dzēšanām
  1. 2 1
      index.js

+ 2 - 1
index.js

@@ -72,7 +72,7 @@ const app=createApp({
           label: 'にほんご',
         },
       ],
-      tomcat_res:null,
+      tomcat_res:""
     }
   },
   methods:{
@@ -96,6 +96,7 @@ const app=createApp({
       console.log("res:"+res);
       console.log("res[\"message\"]:"+res["message"]);
       console.log("tomcat_res"+this.tomcat_res);
+      alert("this.tomcat_res : "+this.tomcat_res)
     };
     request.open("POST","http://ancientapes.cc:8080/mineluxuries/book");
     request.send("test tomcat");