diff --git a/src/graphql/fragments/trace.ts b/src/graphql/fragments/trace.ts
index c1492f94..04f718e0 100644
--- a/src/graphql/fragments/trace.ts
+++ b/src/graphql/fragments/trace.ts
@@ -81,7 +81,7 @@ export const TraceTagKeys = {
};
export const TraceTagValues = {
- variable: "tagKey: String!, $duration: Duration!",
+ variable: "$tagKey: String!, $duration: Duration!",
query: `
tagValues: queryTraceTagAutocompleteValues(tagKey: $tagKey, duration: $duration)`,
};
diff --git a/src/views/components/ConditionTags.vue b/src/views/components/ConditionTags.vue
index 4bf83de3..16eadf00 100644
--- a/src/views/components/ConditionTags.vue
+++ b/src/views/components/ConditionTags.vue
@@ -40,7 +40,25 @@ limitations under the License. -->
class="trace-new-tag"
@change="addLabels"
:placeholder="t('addTags')"
+ @click="showClick"
/>
+
+
+
+
+ {{ item }}
+
+
+
+
import { ref } from "vue";
import { useI18n } from "vue-i18n";
import { useTraceStore } from "@/store/modules/trace";
-import { Option } from "@/types/app";
import { ElMessage } from "element-plus";
/*global defineEmits, defineProps */
@@ -76,13 +93,13 @@ const { t } = useI18n();
const theme = ref("dark");
const tags = ref("");
const tagsList = ref([]);
-const tagKeys = ref