From 1b27559a90417a6f608be0c61e88a6f9e3ea1b40 Mon Sep 17 00:00:00 2001 From: QYF-GitLab1 <1940665526@qq.com> Date: 星期五, 26 七月 2024 11:53:31 +0800 Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary --- src/pages/inherit/list.vue | 7 +++++-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/pages/inherit/list.vue b/src/pages/inherit/list.vue index eb25d41..9a9bf37 100644 --- a/src/pages/inherit/list.vue +++ b/src/pages/inherit/list.vue @@ -384,14 +384,17 @@ }, }; }); - let that = this + let that = this; const edgeType = this.viewType == 1 ? "cubic-horizontal" : "cubic-vertical"; this.graph.edge(function (node) { return { type: edgeType, color: "#A3B1BF", - label: that.textStyle(node.target._cfg?.model.relationInfo) + label: + that.viewType == 1 + ? node.target._cfg?.model.relationInfo + : that.textStyle(node.target._cfg?.model.relationInfo), }; }); this.graph.on("node:click", (e) => { -- Gitblit v1.9.1