Commit a0307d3d authored by 刘殿昕's avatar 刘殿昕

调整接口

parent 6f02be43
......@@ -252,8 +252,9 @@ export default {
},
get_list_pod(){
console.log(this.pod_name);
this.$http
.get(`/apaas/hubApi/cloud/podList/${this.formInline.area}?itemsPerPage=${this.pageSize}&page=${this.currentPage}&label=${this.formInline.name}&filterBy=${this.pod_name}`)
.get(`/apaas/hubApi/cloud/podList/${this.formInline.area}?itemsPerPage=${this.pageSize}&page=${this.currentPage}&label=${this.formInline.name}&filterBy=${this.pod_name != "" ? "name," : ""}${this.pod_name}`)
.then(response => {
if(response.data.success){
this.listTotal = response.data.data.listMeta.totalItems
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment