|
@@ -142,13 +142,17 @@ export default {
|
|
|
},
|
|
},
|
|
|
computed: {
|
|
computed: {
|
|
|
fascDataFilter() {
|
|
fascDataFilter() {
|
|
|
- const list = this.fascData.slice(
|
|
|
|
|
- (this.requestPage.pageNo - 1) * this.requestPage.limit,
|
|
|
|
|
- (this.requestPage.pageNo - 1) * this.requestPage.limit +
|
|
|
|
|
- this.requestPage.limit
|
|
|
|
|
- )
|
|
|
|
|
- this.getSpanArr(list)
|
|
|
|
|
- return list
|
|
|
|
|
|
|
+ if (this.fascData) {
|
|
|
|
|
+ const list = this.fascData.slice(
|
|
|
|
|
+ (this.requestPage.pageNo - 1) * this.requestPage.limit,
|
|
|
|
|
+ (this.requestPage.pageNo - 1) * this.requestPage.limit +
|
|
|
|
|
+ this.requestPage.limit
|
|
|
|
|
+ )
|
|
|
|
|
+ this.getSpanArr(list)
|
|
|
|
|
+ return list
|
|
|
|
|
+ } else {
|
|
|
|
|
+ return []
|
|
|
|
|
+ }
|
|
|
}
|
|
}
|
|
|
},
|
|
},
|
|
|
watch: {
|
|
watch: {
|