fly 5 년 전
부모
커밋
d0cae5f625
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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) {