浏览代码

驾驶舱

yanghao 2 周之前
父节点
当前提交
0305bd0bdd
共有 1 个文件被更改,包括 1 次插入11 次删除
  1. 1 11
      src/views/drive/index.vue

+ 1 - 11
src/views/drive/index.vue

@@ -78,17 +78,7 @@ const openDrive = async (option: DriveCard) => {
   if (userStore.getUser.username && getAccessToken()) {
   if (userStore.getUser.username && getAccessToken()) {
     const res = await getMCSsoToken();
     const res = await getMCSsoToken();
     if (res) {
     if (res) {
-      if (option.title === "生产驾驶舱") {
-        window.open(`${option.url}&ssoToken=${res}`, "_blank");
-      }
-
-      if (option.title === "财务驾驶舱") {
-        window.open(`${option.url}&ssoToken=${res}`, "_blank");
-      }
-
-      if (option.title === "经营驾驶舱") {
-        window.open(`${option.url}&ssoToken=${res}`, "_blank");
-      }
+      window.open(`${option.url}&ssoToken=${res}`, "_blank");
     }
     }
   }
   }
 };
 };