|
@@ -251,6 +251,9 @@ export default {
|
|
|
if (this.list.length === data.data.total) {
|
|
if (this.list.length === data.data.total) {
|
|
|
this.hasMoreData = false
|
|
this.hasMoreData = false
|
|
|
}
|
|
}
|
|
|
|
|
+ if (this.list.length === 0) {
|
|
|
|
|
+ this.$refs['image-previewer'].onClickClose()
|
|
|
|
|
+ }
|
|
|
} else {
|
|
} else {
|
|
|
console.error('在素材列表里没找到要删除的那一项!');
|
|
console.error('在素材列表里没找到要删除的那一项!');
|
|
|
}
|
|
}
|