fly 5 năm trước cách đây
mục cha
commit
d0cae5f625
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      resources/views/qapp/welcome.blade.php

+ 4 - 0
resources/views/qapp/welcome.blade.php

@@ -243,6 +243,10 @@
       if (r != null) return unescape(r[2]);
       return null;
     }
+    //生成三位随机数
+    function ranMath() {
+        return Math.random().toString(36).substr(2,3).toUpperCase();
+    }
     //没有打开快应用注册h5事件及其方法
     var wePage = {
       showToast: function (text) {