mirror of
https://gitee.com/fit2cloud-feizhiyun/MeterSphere.git
synced 2024-11-30 02:58:31 +08:00
fix: 性能测试列表为空
This commit is contained in:
parent
965f43d9fc
commit
f323e737e1
@ -1 +1 @@
|
||||
Subproject commit f27d1609d77f7d6c988d37d709466e844d350e17
|
||||
Subproject commit 79343a2763b014355f91fc21b2356a95ae437973
|
@ -148,14 +148,15 @@ export default {
|
||||
initTableData() {
|
||||
if (this.projectId !== 'all') {
|
||||
this.condition.projectId = this.projectId;
|
||||
if (!this.condition.projectId) {
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.condition.projectId) {
|
||||
this.result = this.$post(this.buildPagePath(this.queryPath), this.condition, response => {
|
||||
let data = response.data;
|
||||
this.total = data.itemCount;
|
||||
this.tableData = data.listObject;
|
||||
});
|
||||
}
|
||||
this.result = this.$post(this.buildPagePath(this.queryPath), this.condition, response => {
|
||||
let data = response.data;
|
||||
this.total = data.itemCount;
|
||||
this.tableData = data.listObject;
|
||||
});
|
||||
},
|
||||
search(combine) {
|
||||
this.initTableData(combine);
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit 7d43154a7c19732407a8e9ace8a7d1ea13c91f36
|
||||
Subproject commit 8cda5c873cd9985c97adb34efacf507167fa4182
|
Loading…
Reference in New Issue
Block a user