mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-14 17:05:10 +00:00
aligned instance filter
This commit is contained in:
parent
91a0c2979b
commit
631160750e
@ -34,7 +34,7 @@ limitations under the License. -->
|
||||
</el-tooltip>
|
||||
</div>
|
||||
</div>
|
||||
<div class="flex-h items-center row">
|
||||
<div class="flex-h items-center">
|
||||
<div class="flex-h items-center" v-if="currentSearchTerm === 'service'">
|
||||
<div
|
||||
class="mr-5 flex-h items-center"
|
||||
@ -54,7 +54,7 @@ limitations under the License. -->
|
||||
|
||||
<div class="flex-h items-center" v-if="currentSearchTerm === 'instance'">
|
||||
<div
|
||||
class="mr-5 flex-h"
|
||||
class="mr-5 items-center flex-h"
|
||||
v-if="
|
||||
dashboardStore.entity !== EntityType[3].value &&
|
||||
currentSearchTerm === 'instance'
|
||||
|
@ -99,7 +99,7 @@ limitations under the License. -->
|
||||
<el-input size="small" class="inputs mr-5" v-model="minTraceDuration" />
|
||||
<span class="grey mr-5">-</span>
|
||||
<el-input size="small" class="inputs" v-model="maxTraceDuration" />
|
||||
</div>
|
||||
</div>
|
||||
<keep-alive>
|
||||
<ConditionTags
|
||||
v-if="activeFilter === 'tags'"
|
||||
@ -209,7 +209,7 @@ const state = reactive<any>({
|
||||
service: { value: "", label: "" },
|
||||
});
|
||||
|
||||
const tagComponent = ref<InstanceType<typeof ConditionTags> | null>(null)
|
||||
const tagComponent = ref<InstanceType<typeof ConditionTags> | null>(null);
|
||||
|
||||
// const dateTime = computed(() => [
|
||||
// appStore.durationRow.start,
|
||||
@ -282,7 +282,7 @@ function cancelSearch() {
|
||||
tagsList.value = [];
|
||||
tagsMap.value = [];
|
||||
updateTags({ tagsMap: [], tagsList: [] });
|
||||
tagComponent.value?.emptyTags()
|
||||
tagComponent.value?.emptyTags();
|
||||
break;
|
||||
case "traceId":
|
||||
traceId.value = "";
|
||||
@ -364,7 +364,6 @@ function changeField(type: string, opt: any) {
|
||||
}
|
||||
}
|
||||
function updateTags(data: { tagsMap: Array<Option>; tagsList: string[] }) {
|
||||
console.log(data, tagComponent.value)
|
||||
tagsList.value = data.tagsList;
|
||||
tagsMap.value = data.tagsMap;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user