diff --git a/src/views/dashboard/related/components/LogTable/LogBrowser.vue b/src/views/dashboard/related/components/LogTable/LogBrowser.vue index 519d027b..6a1159ef 100644 --- a/src/views/dashboard/related/components/LogTable/LogBrowser.vue +++ b/src/views/dashboard/related/components/LogTable/LogBrowser.vue @@ -38,6 +38,7 @@ limitations under the License. --> diff --git a/src/views/dashboard/related/components/LogTable/LogDetail.vue b/src/views/dashboard/related/components/LogTable/LogDetail.vue index f73198e0..75104fb5 100644 --- a/src/views/dashboard/related/components/LogTable/LogDetail.vue +++ b/src/views/dashboard/related/components/LogTable/LogDetail.vue @@ -47,7 +47,6 @@ import { ServiceLogDetail } from "./data"; const props = defineProps({ currentLog: { type: Object as PropType, default: () => ({}) }, }); -console.log(props.currentLog); const { t } = useI18n(); const columns = ServiceLogDetail; const logTags = computed(() => { diff --git a/src/views/dashboard/related/components/LogTable/LogService.vue b/src/views/dashboard/related/components/LogTable/LogService.vue index 2331d12e..3f94af0f 100644 --- a/src/views/dashboard/related/components/LogTable/LogService.vue +++ b/src/views/dashboard/related/components/LogTable/LogService.vue @@ -26,7 +26,7 @@ limitations under the License. --> v-else-if="item.label === 'traceId' && !noLink" :to="{ name: 'trace', query: { traceid: data[item.label] } }" > - {{ data[item.label] }} + {{ data[item.label] }} {{ data[item.label] }} @@ -63,7 +63,6 @@ function showSelectSpan() { .traceId { width: 390px; - color: #448dfe; cursor: pointer; span { @@ -71,6 +70,10 @@ function showSelectSpan() { width: 100%; line-height: 30px; } + + .blue { + color: #448dfe; + } } .content, diff --git a/src/views/dashboard/related/components/LogTable/data.ts b/src/views/dashboard/related/components/LogTable/data.ts index 6a51b30c..9ddd3c50 100644 --- a/src/views/dashboard/related/components/LogTable/data.ts +++ b/src/views/dashboard/related/components/LogTable/data.ts @@ -96,19 +96,15 @@ export const BrowserLogConstants = [ { label: "message", value: "message", - drag: true, + // drag: true, method: 350, }, { label: "stack", value: "stack", - drag: true, + // drag: true, method: 350, }, - // { - // label: 'pagePath', - // value: 'Page Path', - // }, { label: "category", value: "category", diff --git a/src/views/dashboard/related/log/Header.vue b/src/views/dashboard/related/log/Header.vue index 58bac06c..97c6200a 100644 --- a/src/views/dashboard/related/log/Header.vue +++ b/src/views/dashboard/related/log/Header.vue @@ -25,7 +25,9 @@ limitations under the License. --> />
- {{ t("instance") }}: + + {{ isBrowser ? t("version") : t("instance") }}: + />
- {{ t("endpoint") }}: + {{ isBrowser ? t("page") : t("endpoint") }}: {{ t("conditionNotice") }}
-
+
{{ t("traceID") }}:
-
+
{{ t("keywordsOfContent") }}: @@ -93,7 +97,7 @@ limitations under the License. --> class="inputs-max" :placeholder="t('addExcludingKeywordsOfContent')" v-model="excludingContentStr" - @keyup="addLabels('excludingKeywordsOfContent')" + @change="addLabels('excludingKeywordsOfContent')" /> @@ -135,6 +139,7 @@ const tagsList = ref([]); const tagsMap = ref([]); const contentStr = ref(""); const excludingContentStr = ref(""); +const isBrowser = ref(dashboardStore.layerId === "BROWSER"); const state = reactive({ status: { label: "All", value: "ALL" }, instance: { value: "0", label: "All" }, @@ -284,7 +289,7 @@ watch( if (dashboardStore.entity !== EntityType[0].value) { return; } - init(); + searchLogs(); } ); diff --git a/src/views/dashboard/related/log/List.vue b/src/views/dashboard/related/log/List.vue index 16b483c1..be23c777 100644 --- a/src/views/dashboard/related/log/List.vue +++ b/src/views/dashboard/related/log/List.vue @@ -67,3 +67,10 @@ async function queryLogs() { loading.value = false; } +