|
|
@@ -63,7 +63,7 @@ export default {
|
|
|
length: 0,
|
|
|
pageSize: 12,
|
|
|
dataList: [],
|
|
|
- showEmpty: true
|
|
|
+ showEmpty: false
|
|
|
}
|
|
|
},
|
|
|
created() {
|
|
|
@@ -93,8 +93,8 @@ export default {
|
|
|
this.length = resData.totalPages
|
|
|
this.dataList = resData.list
|
|
|
|
|
|
- if (this.total !== 0) {
|
|
|
- this.showEmpty = false
|
|
|
+ if (this.total === 0) {
|
|
|
+ this.showEmpty = true
|
|
|
}
|
|
|
} else {
|
|
|
console.error(res.msg)
|