Lijy пре 2 година
родитељ
комит
13b0fa5f92

+ 8 - 0
fhKeeper/formulahousekeeper/timesheet/index.html

@@ -12,6 +12,8 @@
         <link href="./static/css/public.css" rel="stylesheet" type="text/css"/>
         <!-- 引入样式 -->
         <link href="https://cdn.staticfile.org/element-ui/2.13.0/theme-chalk/index.css" rel="stylesheet">
+        <!-- 接入JQ  -->
+        <script src="https://cdn.staticfile.org/jquery/1.10.2/jquery.min.js"></script>
         <style>
             /* 滚动条样式修改 */
             /*滚动条凹槽的颜色,还可以设置边框属性 */
@@ -106,6 +108,12 @@
             // 如果有其它测试域名,请一起排掉,减少测试环境对生产环境监控的干扰
         if (isProductEnv) {    !(function(c,i,e,b){var h=i.createElement("script");var f=i.getElementsByTagName("script")[0];h.type="text/javascript";h.crossorigin=true;h.onload=function(){c[b]||(c[b]=new c.wpkReporter({bid:"dta_2_71020"}));c[b].installAll()};f.parentNode.insertBefore(h,f);h.src=e})(window,document,"https://g.alicdn.com/woodpeckerx/jssdk??wpkReporter.js","__wpk"); }</script> -->
     </head>
+    <!-- 接入飞书 -->
+    <script type="text/javascript" src="https://lf1-cdn-tos.bytegoofy.com/goofy/lark/op/h5-js-sdk-1.5.16.js"></script>
+    <script src="https://unpkg.com/vconsole/dist/vconsole.min.js"></script>
+    <script>
+        var vConsole = new window.VConsole();
+    </script>
     <body>
         <div id="app"></div>
         <script>

+ 1 - 1
fhKeeper/formulahousekeeper/timesheet/static/js/index.js

@@ -5,7 +5,7 @@ console.log(lang);
 function apiAuth() {
     if (!window.h5sdk) {
         console.log('invalid h5sdk')
-        // alert('please open in feishu')
+        alert('please open in feishu')
         return
     }