From 153404ffa0a9c6d23d2c2732b46fa6929e86294f Mon Sep 17 00:00:00 2001
From: k94314517 <8417338+k94314517@user.noreply.gitee.com>
Date: 星期三, 18 六月 2025 13:56:18 +0800
Subject: [PATCH] 111

---
 admin/src/components/common/ColumnDetail.vue |   18 +++++++++++++-----
 1 files changed, 13 insertions(+), 5 deletions(-)

diff --git a/admin/src/components/common/ColumnDetail.vue b/admin/src/components/common/ColumnDetail.vue
index 23dbab9..ec6cd40 100644
--- a/admin/src/components/common/ColumnDetail.vue
+++ b/admin/src/components/common/ColumnDetail.vue
@@ -1,5 +1,5 @@
 <template>
-  <span v-if="content.length <= limit">{{content}}</span>
+  <span v-if="content == null || content.length <= limit">{{content}}</span>
   <el-popover
     v-else
     v-model="visible"
@@ -76,21 +76,29 @@
     }
   },
   methods: {
-    // 鐐瑰嚮纭
+    /**
+     * 纭
+     */
     confirm () {
       this.visible = false
       this.$emit('confirm')
     },
-    // 鐐瑰嚮鍙栨秷
+    /**
+     * 鍙栨秷
+     */
     cancel () {
       this.visible = false
       this.$emit('cancel')
     },
-    // 澶嶅埗鎴愬姛
+    /**
+     * 澶嶅埗鎴愬姛
+     */
     copySuccess () {
       this.$tip.success('澶嶅埗鎴愬姛')
     },
-    // 澶嶅埗澶辫触
+    /**
+     * 澶嶅埗澶辫触
+     */
     copyFailed () {
       this.$tip.error('澶嶅埗澶辫触')
     }

--
Gitblit v1.9.3