From 056c73b0e86e76faa08b627c0cebfa244a7b399a Mon Sep 17 00:00:00 2001
From: jiangping <jp@doumee.com>
Date: 星期四, 10 七月 2025 15:48:24 +0800
Subject: [PATCH] ss
---
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