|
@@ -502,20 +502,13 @@ const go = async (item) => {
|
|
|
const ua = window.navigator.userAgent.toLowerCase();
|
|
const ua = window.navigator.userAgent.toLowerCase();
|
|
|
if (ua.includes("dingtalk") || ua.includes("dingtalkwork")) {
|
|
if (ua.includes("dingtalk") || ua.includes("dingtalkwork")) {
|
|
|
if (window.dd) {
|
|
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) {
|
|
} else if (window.DingTalkPC) {
|
|
|
const newTab = window.open("", "_blank");
|
|
const newTab = window.open("", "_blank");
|
|
|
newTab.location.href =
|
|
newTab.location.href =
|