fix: 关联前后置对象页面数量显示错误
This commit is contained in:
parent
c9e7ddad33
commit
1b061f13f0
|
@ -9,6 +9,7 @@
|
|||
:condition="condition"
|
||||
:select-node-ids="selectNodeIds"
|
||||
:result="result"
|
||||
:total="total"
|
||||
:current-protocol="currentProtocol"
|
||||
:screen-height="screenHeight"
|
||||
@setSelectRow="setSelectRow"
|
||||
|
@ -57,6 +58,7 @@
|
|||
screenHeight: 'calc(100vh - 400px)',//屏幕高度,
|
||||
tableData: [],
|
||||
environmentId: "",
|
||||
total: 0,
|
||||
selectRows: new Set()
|
||||
}
|
||||
},
|
||||
|
|
|
@ -18,6 +18,7 @@
|
|||
|
||||
<api-table-list
|
||||
:table-data="tableData"
|
||||
:total="total"
|
||||
:condition="condition"
|
||||
:select-node-ids="selectNodeIds"
|
||||
:result="result"
|
||||
|
@ -53,6 +54,7 @@
|
|||
currentRow: {},
|
||||
projectId: "",
|
||||
result: {},
|
||||
total: 0,
|
||||
tableData: []
|
||||
};
|
||||
},
|
||||
|
|
|
@ -154,8 +154,7 @@
|
|||
result: Object,
|
||||
tableData: Array,
|
||||
condition: Object,
|
||||
// currentPage: Number,
|
||||
// pageSize: Number,
|
||||
total: Number,
|
||||
screenHeight: {
|
||||
type: [Number, String],
|
||||
default() {
|
||||
|
@ -189,9 +188,6 @@
|
|||
return this.$t('api_test.definition.api_type');
|
||||
}
|
||||
},
|
||||
total() {
|
||||
return this.tableData ? this.tableData.length : 0;
|
||||
},
|
||||
},
|
||||
methods: {
|
||||
buildPagePath(path) {
|
||||
|
|
Loading…
Reference in New Issue