You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by wu...@apache.org on 2024/06/04 00:51:48 UTC

(skywalking-booster-ui) branch main updated: fix: browser log (#399)

This is an automated email from the ASF dual-hosted git repository.

wusheng pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/skywalking-booster-ui.git


The following commit(s) were added to refs/heads/main by this push:
     new c35bdce3 fix: browser log (#399)
c35bdce3 is described below

commit c35bdce3995383084fb17072b9b403a2f6235eb8
Author: Starry <zh...@apache.org>
AuthorDate: Tue Jun 4 08:51:43 2024 +0800

    fix: browser log (#399)
---
 src/locales/lang/en.ts                                  | 3 ++-
 src/locales/lang/es.ts                                  | 3 ++-
 src/locales/lang/zh.ts                                  | 3 ++-
 src/views/dashboard/related/log/LogTable/LogBrowser.vue | 1 -
 src/views/dashboard/related/log/LogTable/data.ts        | 8 ++++++--
 5 files changed, 12 insertions(+), 6 deletions(-)

diff --git a/src/locales/lang/en.ts b/src/locales/lang/en.ts
index 63c2dc2d..4d816ad7 100644
--- a/src/locales/lang/en.ts
+++ b/src/locales/lang/en.ts
@@ -284,7 +284,8 @@ const msg = {
   errorInfo: "Error Info",
   stack: "Stack",
   serviceVersion: "Service Version",
-  errorPage: "Error Page",
+  pagePath: "Page Path",
+  errorUrl: "Error Url",
   category: "Category",
   grade: "Grade",
   relatedTraceLogs: "Related Logs",
diff --git a/src/locales/lang/es.ts b/src/locales/lang/es.ts
index d5d738bb..fbf22826 100644
--- a/src/locales/lang/es.ts
+++ b/src/locales/lang/es.ts
@@ -283,7 +283,8 @@ const msg = {
   errorInfo: "Info Error",
   stack: "Pila",
   serviceVersion: "Versión Servicio",
-  errorPage: "Página de Error",
+  pagePath: "Página de Error",
+  errorUrl: "Ruta de Error",
   category: "Categoría",
   grade: "Grado",
   relatedTraceLogs: "Registro de Datos Relacionados",
diff --git a/src/locales/lang/zh.ts b/src/locales/lang/zh.ts
index 18a8dbfe..0a2d5c0f 100644
--- a/src/locales/lang/zh.ts
+++ b/src/locales/lang/zh.ts
@@ -281,7 +281,8 @@ const msg = {
   errorInfo: "错误信息",
   stack: "堆栈",
   serviceVersion: "服务版本",
-  errorPage: "错误页面",
+  pagePath: "错误页面",
+  errorUrl: "错误路径",
   category: "类别",
   grade: "等级",
   relatedTraceLogs: "相关的日志",
diff --git a/src/views/dashboard/related/log/LogTable/LogBrowser.vue b/src/views/dashboard/related/log/LogTable/LogBrowser.vue
index e215988e..4411eb1c 100644
--- a/src/views/dashboard/related/log/LogTable/LogBrowser.vue
+++ b/src/views/dashboard/related/log/LogTable/LogBrowser.vue
@@ -21,7 +21,6 @@ limitations under the License. -->
       :class="['log', ['message', 'stack'].includes(item.label) ? 'max-item' : '']"
     >
       <span v-if="item.label === 'time'">{{ dateFormat(data.time) }}</span>
-      <span v-else-if="item.label === 'errorUrl'">{{ data.pagePath }}</span>
       <el-tooltip v-else :content="data[item.label] || '-'">
         <span>
           {{ data[item.label] || "-" }}
diff --git a/src/views/dashboard/related/log/LogTable/data.ts b/src/views/dashboard/related/log/LogTable/data.ts
index 96f42aa3..607ddcf4 100644
--- a/src/views/dashboard/related/log/LogTable/data.ts
+++ b/src/views/dashboard/related/log/LogTable/data.ts
@@ -74,8 +74,8 @@ export const BrowserLogConstants = [
     value: "serviceVersion",
   },
   {
-    label: "errorUrl",
-    value: "errorPage",
+    label: "pagePath",
+    value: "pagePath",
   },
   {
     label: "time",
@@ -87,6 +87,10 @@ export const BrowserLogConstants = [
     // drag: true,
     method: 350,
   },
+  {
+    label: "errorUrl",
+    value: "errorUrl",
+  },
   {
     label: "stack",
     value: "stack",