scorpio 1 anno fa
parent
commit
19daa41679
1 ha cambiato i file con 2 aggiunte e 0 eliminazioni
  1. 2 0
      src/views/resource/index.vue

+ 2 - 0
src/views/resource/index.vue

@@ -29,6 +29,7 @@
         <div class="full-width flex flex-center flex-justify-between">
           <div class="full-width flex flex-justify-start flex-center">
             <upload-file
+              v-if="!top && currentFolder.fileStatus !== 1"
               @on-success="uploadSuccess"
               :data="{ type: 1 }"
               :project-id="folderInfo.projectId"
@@ -41,6 +42,7 @@
               icon="Folder"
               :plain="!top"
               @click="showDialog(1)"
+              v-if="currentFolder ? currentFolder.fileStatus !== 1 : true"
               >新建文件夹
             </el-button>
             <authorize