From 9057e04efad1b7d61c77a72e5c37a504d0aee935 Mon Sep 17 00:00:00 2001
From: doum <doum>
Date: 星期五, 26 九月 2025 09:24:03 +0800
Subject: [PATCH] H5静态化

---
 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