Browse Source

修改组件

QuKatie 3 years ago
parent
commit
d0bf80b360
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/components/report-dialog/main.vue

+ 1 - 1
src/components/report-dialog/main.vue

@@ -119,7 +119,7 @@ export default {
     switchDialog: function(i) {
       this.visible = i;
       this.query = {
-        name: this.$router.currentRoute.name?this.$router.currentRoute.name:this.reportName
+        name: this.reportName?this.reportName:this.$router.currentRoute.name
       };
       if (i) {
         this.getList();