瀏覽代碼

tomcat_res

night-cherry 1 月之前
父節點
當前提交
482cfb6286
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2 1
      index.js

+ 2 - 1
index.js

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