Преглед на файлове

将在路由获取项目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