perf: endpoint搜索条件的状态增加suspended

This commit is contained in:
陈劲松
2020-11-22 19:32:15 +08:00
committed by chenjinsong
parent f9e111f49b
commit 2346ab30d8
2 changed files with 2 additions and 2 deletions

View File

@@ -384,7 +384,7 @@
this.endpointSearchLabel = {};
// this.pageObj.pageNo = 1;
for (let item in searchObj) {
if (searchObj[item]) {
if (searchObj[item] || searchObj[item] === 0) {
if (item === "endpointState") {
this.$set(this.endpointSearchLabel, 'state', searchObj[item]);
} else {

View File

@@ -579,7 +579,7 @@
this.endpointSearchLabel={};
this.endpointPageObj.pageNo=1;
for(let item in searchObj){
if(searchObj[item]){
if(searchObj[item] || searchObj[item] === 0){
if (item === "endpointState") {
this.$set(this.endpointSearchLabel, 'state', searchObj[item]);
} else {