zhangwencui
3 天以前 8ae47d0d5f14f5e2f561ef8030794e1dd1878d18
src/components/PIMTable/PIMTable.vue
@@ -41,7 +41,8 @@
                     :align="item.align"
                     :sortable="!!item.sortable"
                     :type="item.type"
                     :width="item.width">
                     :width="item.width"
                     :class-name="item.className || ''">
      <template #header="scope">
        <div class="pim-table-header-cell">
          <div class="pim-table-header-title">
@@ -171,6 +172,7 @@
        <!-- 可点击的文字 -->
        <div v-else-if="item.dataType == 'link'"
             class="cell link"
             :class="item.className || ''"
             style="width: 100%"
             @click="goLink(scope.row, item.linkMethod)">
          <span v-if="!item.formatData">{{ scope.row[item.prop] }}</span>
@@ -178,6 +180,7 @@
        <!-- 默认纯展示数据 -->
        <div v-else
             class="cell"
             :class="item.className || ''"
             style="width: 100%">
          <span v-if="!item.formatData">{{ scope.row[item.prop] }}</span>
          <span v-else>{{