mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-05-15 01:33:54 +00:00
included other cancel conditions such as tags
This commit is contained in:
parent
7f2851e8f2
commit
8e33b3320c
@ -94,11 +94,13 @@ limitations under the License. -->
|
|||||||
<span class="grey mr-5">-</span>
|
<span class="grey mr-5">-</span>
|
||||||
<el-input size="small" class="inputs" v-model="maxTraceDuration" />
|
<el-input size="small" class="inputs" v-model="maxTraceDuration" />
|
||||||
</div>
|
</div>
|
||||||
|
<keep-alive>
|
||||||
<ConditionTags
|
<ConditionTags
|
||||||
v-if="activeFilter === 'tags'"
|
v-if="activeFilter === 'tags'"
|
||||||
:type="'TRACE'"
|
:type="'TRACE'"
|
||||||
@update="updateTags"
|
@update="updateTags"
|
||||||
/>
|
/>
|
||||||
|
</keep-alive>
|
||||||
<el-button
|
<el-button
|
||||||
v-if="activeFilter"
|
v-if="activeFilter"
|
||||||
class="search-btn filter-btn"
|
class="search-btn filter-btn"
|
||||||
@ -258,6 +260,17 @@ function cancelSearch() {
|
|||||||
case "service":
|
case "service":
|
||||||
state.service.value = "";
|
state.service.value = "";
|
||||||
break
|
break
|
||||||
|
case "duration":
|
||||||
|
minTraceDuration.value = "";
|
||||||
|
maxTraceDuration.value = "";
|
||||||
|
break
|
||||||
|
case "tags":
|
||||||
|
tagsList.value = []
|
||||||
|
tagsMap.value = []
|
||||||
|
break
|
||||||
|
case "traceId":
|
||||||
|
traceId.value = ""
|
||||||
|
break
|
||||||
}
|
}
|
||||||
activeFilter.value = "";
|
activeFilter.value = "";
|
||||||
traceStore.activeFilter = "";
|
traceStore.activeFilter = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user