zuozhengqing
2024-02-05 3c4e059b2c47e3ba22b694805645b008c4276e25
src/components/makepager/TableCommonView.vue
@@ -33,7 +33,6 @@
        :min-width="item.min"
        show-overflow-tooltip
        :sortable="item.sortable"
        header-align="center"
        :align="item.textAlign"
        v-if="item.isShowColumn"
      >
@@ -67,7 +66,7 @@
            >{{ timeAgo(scope.row[item.prop]) }}</span
          >
          <div v-else-if="item.conversion">
            <span>{{ item.getStatus(scope.row[item.prop]) }}</span>
            <p class="exceed_width">{{ item.getStatus(scope.row[item.prop]) }}</p>
          </div>
          <span
            v-else-if="item.isClick && scope.row[item.prop]"
@@ -349,6 +348,12 @@
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    overflow: auto;
    .exceed_width{
      width: 100%;
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
    }
  }
}