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