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") }}
|
{{ t("tagsLink") }}
|
||||||
</a>
|
</a>
|
||||||
<el-tooltip
|
<el-tooltip :content="t(tipsMap[type])">
|
||||||
:content="
|
|
||||||
t(
|
|
||||||
type === 'LOG'
|
|
||||||
? 'logTagsTip'
|
|
||||||
: type === 'TRACE'
|
|
||||||
? 'traceTagsTip'
|
|
||||||
: 'alarmTagsTip'
|
|
||||||
)
|
|
||||||
"
|
|
||||||
>
|
|
||||||
<span>
|
<span>
|
||||||
<Icon class="icon-help mr-5" iconName="help" size="middle" />
|
<Icon class="icon-help mr-5" iconName="help" size="middle" />
|
||||||
</span>
|
</span>
|
||||||
@ -88,6 +78,11 @@ const tags = ref<string>("");
|
|||||||
const tagsList = ref<string[]>([]);
|
const tagsList = ref<string[]>([]);
|
||||||
const tagKeys = ref<Option[]>([]);
|
const tagKeys = ref<Option[]>([]);
|
||||||
const tagValues = ref<Option[]>([]);
|
const tagValues = ref<Option[]>([]);
|
||||||
|
const tipsMap = {
|
||||||
|
LOG: "logTagsTip",
|
||||||
|
TRACE: "traceTagsTip",
|
||||||
|
ALARM: "alarmTagsTip",
|
||||||
|
};
|
||||||
|
|
||||||
fetchTagKeys();
|
fetchTagKeys();
|
||||||
function removeTags(index: number) {
|
function removeTags(index: number) {
|
||||||
|
@ -200,7 +200,6 @@ export default defineComponent({
|
|||||||
dom.style.background = "rgba(0, 0, 0, 0.1)";
|
dom.style.background = "rgba(0, 0, 0, 0.1)";
|
||||||
}
|
}
|
||||||
function selectSpan(event: any) {
|
function selectSpan(event: any) {
|
||||||
console.log(event.composedPath());
|
|
||||||
const dom = event
|
const dom = event
|
||||||
.composedPath()
|
.composedPath()
|
||||||
.find((d: any) => d.className.includes("trace-item"));
|
.find((d: any) => d.className.includes("trace-item"));
|
||||||
|
Loading…
Reference in New Issue
Block a user