Przeglądaj źródła

fix 项目迁移

scorpio 2 lat temu
rodzic
commit
2821e0707e
1 zmienionych plików z 3 dodań i 1 usunięć
  1. 3 1
      src/views/home/component/folder_info.vue

+ 3 - 1
src/views/home/component/folder_info.vue

@@ -89,7 +89,7 @@
     />
     <!--    授权-->
     <el-dialog v-model='authorizeShow' append-to-body width='40%'>
-      <authorize :list='folderList' @close='authorizeShow = false'/>
+      <authorize :list='folderList' @close='authorizeShow = false' :project-id='projectId'/>
     </el-dialog>
   </div>
 </template>
@@ -133,6 +133,7 @@ export default {
   },
   data () {
     return {
+      projectId: '',
       authorizeShow: false,
       loading: false,
       showImage: false,
@@ -159,6 +160,7 @@ export default {
     }
   },
   created () {
+    this.projectId = this.$route.query.id
     this.getFolderList()
   },
   methods: {