Showing
1 changed file
with
8 additions
and
0 deletions
@@ -81,6 +81,10 @@ | @@ -81,6 +81,10 @@ | ||
81 | }); | 81 | }); |
82 | this.pageData.total = res.data.totalCount; | 82 | this.pageData.total = res.data.totalCount; |
83 | this.pageData.current = res.data.pageNo + 1; | 83 | this.pageData.current = res.data.pageNo + 1; |
84 | + } else { | ||
85 | + this.tableData = []; | ||
86 | + this.pageData.total = 0; | ||
87 | + this.pageData.current = 1; | ||
84 | } | 88 | } |
85 | }); | 89 | }); |
86 | } else { | 90 | } else { |
@@ -94,6 +98,10 @@ | @@ -94,6 +98,10 @@ | ||
94 | i.editable = false; | 98 | i.editable = false; |
95 | return i; | 99 | return i; |
96 | }); | 100 | }); |
101 | + } else { | ||
102 | + this.tableData = []; | ||
103 | + this.pageData.total = 0; | ||
104 | + this.pageData.current = 1; | ||
97 | } | 105 | } |
98 | }); | 106 | }); |
99 | } | 107 | } |
-
Please register or login to post a comment