@@ -1,6 +1,6 @@
<template>
<div>
- <el-row>
+ <el-row v-if="dataList.length !== 0">
<el-col
v-for="(album, index) in dataList"
:key="index"
@@ -18,6 +18,9 @@
/>
</el-col>
</el-row>
+ <el-row v-else>
+ <span style="color: #007bff">这是一个空相册, 快去添加点照片到相册中吧!</span>
+ </el-row>
<el-row>
<el-pagination
:small="screenWidth <= 768"