소스 검색

将在路由获取项目id和项目密码改为在vuex中获取

zhangyu 5 년 전
부모
커밋
e87e16b90c
2개의 변경된 파일4개의 추가작업 그리고 4개의 파일을 삭제
  1. 2 2
      src/components/business_space/dialogs/changeRea.vue
  2. 2 2
      src/components/dialogs/changeRea.vue

+ 2 - 2
src/components/business_space/dialogs/changeRea.vue

@@ -273,8 +273,8 @@ export default {
             type: ""
           }
         },
-        secret: this.$route.query.secret,
-        ProjId: this.$route.query.projId
+        secret: this.secret,
+        ProjId: this.projectId
       }
       if (this.mess.buildId == "all") {
         param.data.criteria.id = this.mess.ProjId

+ 2 - 2
src/components/dialogs/changeRea.vue

@@ -280,8 +280,8 @@ export default {
             type: ""
           }
         },
-        secret: this.$route.query.secret,
-        ProjId: this.$route.query.projId
+        secret: this.secret,
+        ProjId: this.projectId
       }
       if (this.mess.buildId == "all") {
         param.data.criteria.id = this.mess.ProjId