fix: reset tag keys list and duration condition (#178)

This commit is contained in:
Fine0830
2022-10-31 12:05:25 +08:00
committed by GitHub
parent 09051e916b
commit 4b88d8bbb3
2 changed files with 2 additions and 0 deletions

View File

@@ -173,6 +173,7 @@ function selectTag(item: string) {
function searchTags() {
if (!tags.value) {
tagList.value = tagArr.value;
fetchTagKeys();
return;
}
let search = "";

View File

@@ -141,6 +141,7 @@ if (props.needQuery) {
}
async function init() {
duration.value = filters.duration || appStore.durationTime;
if (dashboardStore.entity === EntityType[1].value) {
await getServices();
}