You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@skywalking.apache.org by qi...@apache.org on 2021/03/10 06:49:03 UTC

[skywalking-rocketbot-ui] branch master updated: Fix log pages tags column not updated (#443)

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

qiuxiafan pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/skywalking-rocketbot-ui.git


The following commit(s) were added to refs/heads/master by this push:
     new cb73a48  Fix log pages tags column not updated (#443)
cb73a48 is described below

commit cb73a48aaafc01aa3bac830cc1a60e25f69ccc43
Author: hailin0 <ha...@yeah.net>
AuthorDate: Wed Mar 10 14:47:45 2021 +0800

    Fix log pages tags column not updated (#443)
    
    Co-authored-by: 吴晟 Wu Sheng <wu...@foxmail.com>
---
 src/views/components/log/log-table/log-service-item.vue | 7 +++----
 1 file changed, 3 insertions(+), 4 deletions(-)

diff --git a/src/views/components/log/log-table/log-service-item.vue b/src/views/components/log/log-table/log-service-item.vue
index f041394..06a75da 100644
--- a/src/views/components/log/log-table/log-service-item.vue
+++ b/src/views/components/log/log-table/log-service-item.vue
@@ -41,12 +41,11 @@ limitations under the License. -->
     @Prop() private data: any;
     @Prop() private noLink!: any;
     private columns = ServiceLogConstants;
-    private tags: string = '';
-    private created() {
+    private get tags() {
       if (!this.data.tags) {
-        return;
+        return '';
       }
-      this.tags = String(this.data.tags.map((d: any) => `${d.key}=${d.value}`));
+      return String(this.data.tags.map((d: any) => `${d.key}=${d.value}`));
     }
     private showSelectSpan() {
       this.$eventBus.$emit('HANDLE-SELECT-LOG', this.data);