فهرست منبع

Merge remote-tracking branch 'origin/master'

tianyunperfect 2 سال پیش
والد
کامیت
35443bd1f6
1فایلهای تغییر یافته به همراه3 افزوده شده و 1 حذف شده
  1. 3 1
      simple-demo/location.html

+ 3 - 1
simple-demo/location.html

@@ -6,6 +6,7 @@
     <script src="js/axios.min.js"></script>
 </head>
 <body>
+<h1 id="msg"></h1>
 <script>
     Date.prototype.format = function (fmt) {
         var o = {
@@ -40,6 +41,7 @@
         }).then(res => {
             if (res.data.code === 1) {
                 window.close();
+                document.querySelector("#msg").innerHTML = "OK";
             }
         });
     }, function (error) {
@@ -49,4 +51,4 @@
     });
 </script>
 </body>
-</html>
+</html>