Răsfoiți Sursa

feat: 新窗口打开数据导出

zhangyuhan 1 an în urmă
părinte
comite
2190d4b683
1 a modificat fișierele cu 8 adăugiri și 7 ștergeri
  1. 8 7
      apps/bigmember_pc/src/components/push-list/PushList.vue

+ 8 - 7
apps/bigmember_pc/src/components/push-list/PushList.vue

@@ -617,13 +617,14 @@ export default {
           fn: () => {
             this.$BRACE.methods.open({
               route: {
-                link
+                link,
+                openType: '_blank'
               }
             })
           },
           spareFn: () => {
-            location.href = link
-            // window.open(link)
+            // location.href = link
+            window.open(link)
           }
         })
       }
@@ -2074,10 +2075,10 @@ export default {
 }
 
 .list-item:hover {
-  background: #F6F6F6;
-  box-shadow: inset 0px -1px 0px rgb(0, 0, 0, .05);
-  .a-i-left{
-    color: #2CB7CA;
+  background: #f6f6f6;
+  box-shadow: inset 0px -1px 0px rgb(0, 0, 0, 0.05);
+  .a-i-left {
+    color: #2cb7ca;
   }
 }