ss
doum
2025-09-19 566c35444def62d13f0c76c3a8e642cd234b2b45
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('复制失败')
    }