mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-19 01:45:24 +00:00
remove
This commit is contained in:
parent
7117a7523c
commit
156b6f833c
@ -21,15 +21,7 @@ limitations under the License. -->
|
|||||||
<span class="remove-icon" @click="removeTags(index)">×</span>
|
<span class="remove-icon" @click="removeTags(index)">×</span>
|
||||||
</span>
|
</span>
|
||||||
</span>
|
</span>
|
||||||
<el-input
|
<el-popover trigger="click" :visible="visible" width="300px">
|
||||||
v-if="type === 'ALARM'"
|
|
||||||
size="small"
|
|
||||||
v-model="tags"
|
|
||||||
class="trace-new-tag"
|
|
||||||
@change="addLabels"
|
|
||||||
:placeholder="t('addTags')"
|
|
||||||
/>
|
|
||||||
<el-popover v-else trigger="click" :visible="visible" width="300px">
|
|
||||||
<template #reference>
|
<template #reference>
|
||||||
<el-input
|
<el-input
|
||||||
size="small"
|
size="small"
|
||||||
@ -47,7 +39,7 @@ limitations under the License. -->
|
|||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</el-popover>
|
</el-popover>
|
||||||
<span class="tags-tip" :class="type !== 'ALARM' && tagArr.length ? 'link-tips' : ''">
|
<span class="tags-tip" :class="tagArr.length ? 'link-tips' : ''">
|
||||||
<a
|
<a
|
||||||
target="blank"
|
target="blank"
|
||||||
href="https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/configuration-vocabulary.md"
|
href="https://github.com/apache/skywalking/blob/master/docs/en/setup/backend/configuration-vocabulary.md"
|
||||||
@ -132,6 +124,9 @@ limitations under the License. -->
|
|||||||
resp = await alarmStore.getAlarmTagKeys();
|
resp = await alarmStore.getAlarmTagKeys();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!resp.data) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (resp.errors) {
|
if (resp.errors) {
|
||||||
ElMessage.error(resp.errors);
|
ElMessage.error(resp.errors);
|
||||||
return;
|
return;
|
||||||
@ -155,6 +150,9 @@ limitations under the License. -->
|
|||||||
resp = await alarmStore.getAlarmTagValues(param);
|
resp = await alarmStore.getAlarmTagValues(param);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (!resp.data) {
|
||||||
|
return;
|
||||||
|
}
|
||||||
if (resp.errors) {
|
if (resp.errors) {
|
||||||
ElMessage.error(resp.errors);
|
ElMessage.error(resp.errors);
|
||||||
return;
|
return;
|
||||||
|
Loading…
Reference in New Issue
Block a user