mirror of
https://github.com/apache/skywalking-booster-ui.git
synced 2025-07-18 11:25:22 +00:00
update
This commit is contained in:
parent
8685bdb5fb
commit
126e259a70
@ -49,17 +49,7 @@ limitations under the License. -->
|
||||
>
|
||||
{{ t("tagsLink") }}
|
||||
</a>
|
||||
<el-tooltip
|
||||
:content="
|
||||
t(
|
||||
type === 'LOG'
|
||||
? 'logTagsTip'
|
||||
: type === 'TRACE'
|
||||
? 'traceTagsTip'
|
||||
: 'alarmTagsTip'
|
||||
)
|
||||
"
|
||||
>
|
||||
<el-tooltip :content="t(tipsMap[type])">
|
||||
<span>
|
||||
<Icon class="icon-help mr-5" iconName="help" size="middle" />
|
||||
</span>
|
||||
@ -88,6 +78,11 @@ const tags = ref<string>("");
|
||||
const tagsList = ref<string[]>([]);
|
||||
const tagKeys = ref<Option[]>([]);
|
||||
const tagValues = ref<Option[]>([]);
|
||||
const tipsMap = {
|
||||
LOG: "logTagsTip",
|
||||
TRACE: "traceTagsTip",
|
||||
ALARM: "alarmTagsTip",
|
||||
};
|
||||
|
||||
fetchTagKeys();
|
||||
function removeTags(index: number) {
|
||||
|
@ -200,7 +200,6 @@ export default defineComponent({
|
||||
dom.style.background = "rgba(0, 0, 0, 0.1)";
|
||||
}
|
||||
function selectSpan(event: any) {
|
||||
console.log(event.composedPath());
|
||||
const dom = event
|
||||
.composedPath()
|
||||
.find((d: any) => d.className.includes("trace-item"));
|
||||
|
Loading…
Reference in New Issue
Block a user