doum
2025-09-26 9057e04efad1b7d61c77a72e5c37a504d0aee935
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('复制失败')
    }