yanghao il y a 3 jours
Parent
commit
2a1636cb92
2 fichiers modifiés avec 7 ajouts et 14 suppressions
  1. 5 12
      src/views/flow/index.vue
  2. 2 2
      src/views/login.vue

+ 5 - 12
src/views/flow/index.vue

@@ -502,20 +502,13 @@ const go = async (item) => {
       const ua = window.navigator.userAgent.toLowerCase();
       if (ua.includes("dingtalk") || ua.includes("dingtalkwork")) {
         if (window.dd) {
-          const targetUrl = item.appUrl;
-          if (targetUrl) {
-            dd.biz.util.openLink({
-              url: targetUrl,
+          // https://crm-tencent.xiaoshouyi.com
 
-              onSuccess: () => {},
-            });
-          } else {
-            dd.biz.util.openLink({
-              url: "https://crm-tencent.xiaoshouyi.com",
+          dd.biz.util.openLink({
+            url: "https://crm-tencent.xiaoshouyi.com",
 
-              onSuccess: () => {},
-            });
-          }
+            onSuccess: () => {},
+          });
         } else if (window.DingTalkPC) {
           const newTab = window.open("", "_blank");
           newTab.location.href =

+ 2 - 2
src/views/login.vue

@@ -21,7 +21,7 @@
         <h1 class="text-2xl font-bold text-center text-black/90">登录</h1>
 
         <!-- 用户名密码登陆 -->
-        <!-- <div>
+        <div>
           <el-form
             :model="form"
             :rules="rules"
@@ -62,7 +62,7 @@
               >
             </div>
           </div>
-        </div> -->
+        </div>
 
         <!-- 钉钉登陆 -->
         <div class="text-center">