fix: 接口定义,筛选完后总条数没变

This commit is contained in:
wenyann 2021-05-26 10:13:16 +08:00 committed by 刘瑞斌
parent ca9fae66f3
commit 917c6b849e
1 changed files with 1 additions and 1 deletions

View File

@ -496,7 +496,7 @@ export default {
if (this.condition.projectId) {
this.result = this.$post("/api/definition/list/" + this.currentPage + "/" + this.pageSize, this.condition, response => {
this.genProtocalFilter(this.condition.protocol);
this.total = response.data.size;
this.total = response.data.listObject.length;
this.tableData = response.data.listObject;
this.tableData.forEach(item => {
if (item.tags && item.tags.length > 0) {