wuhongyu 4 years ago
parent
commit
650f37647c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      src/views/communication/parts/demand.vue

+ 3 - 2
src/views/communication/parts/demand.vue

@@ -44,8 +44,9 @@ export default {
     xuqiu(item) {
       // this.$router.push({ path: '/demand/index', query: { id: item.id } });
       let id = item.id;
-      window.open('/count/demand/index?id=' + id);
-
+      // window.open('/count/demand/index?id=' + id);
+      let routeData = this.$router.push({ path: '/demand/index', query: { id: item.id } });
+      window.open(routeData.href, '_blank');
       // $window.open('/bdfence/bdfence-division/bdfence.html?vehicleId=' + id);
     },
     async onclick() {