Commit 360c617a by LJM

bug

parent 1bc7258c
......@@ -513,6 +513,7 @@
}
});
},
//设置默认的容器
getTallyContainerDefault() {
this.request(API.getTallyContainer, 'GET', {}, false).then(res => {
if (res.code === 0) {
......@@ -524,6 +525,7 @@
}
});
if (filter_arr.length > 0) {
//取消默认的容器
this.searchParams.container_name = '';
this.searchParams.container_id = '';
this.formParams.container_id = '';
......@@ -556,8 +558,8 @@
};
}
});
this.searchParams.container_id = '';
this.formParams.container_id = '';
this.searchParams.container_id = id[0].id;
this.formParams.container_id = id[0].id;
} else {
this.searchParams.container_id = '';
this.formParams.container_id = '';
......
......@@ -618,7 +618,7 @@
};
}
});
this.searchParams.container_id = '';
this.searchParams.container_id = id[0].id;
} else {
this.searchParams.container_id = '';
}
......
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 sign in to comment