wolyshaw 3 rokov pred
rodič
commit
3fadcea173

+ 1 - 1
src/views/resetTeaming/components/training-photos/index.vue

@@ -7,7 +7,7 @@
       <el-button type="primary" v-if="sorting" @click="stopSort()">取消</el-button>
       <el-button type="primary" @click="openPreview()">预览</el-button>
     </div>
-    <empty v-if="activeNames && activeNames.length == 0"/>
+    <empty v-if="!yearsList.length"/>
     <el-collapse style="margin-top: 20px;" v-model="activeNames">
       <el-collapse-item v-for="ykey in yearsList" :title="ykey + '年 相册'" :key="ykey" :name="ykey">
         <empty v-if="years[ykey].length == 0"/>