fly 5 years ago
parent
commit
d0cae5f625
1 changed files with 4 additions and 0 deletions
  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) {