From 5c3f597fed3b703143413447089a9ffce171bf51 Mon Sep 17 00:00:00 2001
From: YM <479443481@qq.com>
Date: 星期五, 26 七月 2024 11:55:35 +0800
Subject: [PATCH] Merge branch 'master' of http://182.92.203.7:2001/r/TCM_CharacterLibrary

---
 src/pages/inherit/list.vue |    8 ++++++--
 1 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/src/pages/inherit/list.vue b/src/pages/inherit/list.vue
index eb25d41..893e0bd 100644
--- a/src/pages/inherit/list.vue
+++ b/src/pages/inherit/list.vue
@@ -78,6 +78,7 @@
             @click="viewChange(2)"
           />
         </view>
+        <p style="position: absolute;bottom: -40px;font-size: 12px;width: 200px;color: #999;">娉細绠ご鎸囧悜涓哄綋鍓嶁�滀汉鐗┾�濈殑X鍏崇郴</p>
       </view>
     </view>
     <!-- echarts鍥� -->
@@ -384,14 +385,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