fly hace 5 años
padre
commit
d0cae5f625
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  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) {