Browse Source

12.8 排序修改

bding 1 year ago
parent
commit
283966a8ec
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/views/rai_manage/reportManage/yanXuanSpecial.vue

+ 2 - 2
src/views/rai_manage/reportManage/yanXuanSpecial.vue

@@ -63,7 +63,7 @@
               :prop="item.key"
               :label="item.label"
               align="center"
-              :sortable="item.label == 'PV/UV' ? true : false"
+              :sortable="item.label == 'PV/UV' ? 'custom' : false"
             >
               <template slot-scope="{ row }">
                 <span v-if="item.label != 'PV/UV'" @click="handleRowClick(row, item.key)" :style="handleRowStyle(item.key)">{{ handleRowContent(row, item.key) }}</span>
@@ -224,7 +224,7 @@ export default {
     },
     // 是否显示
     isShowSortable(item) {
-      return item.label == "总PV/UV" || item.label == "开通时间" || item.label == "已发布文章";
+      return item.label == "总PV/UV" || item.label == "开通时间" || item.label == "已发布文章" ? "custom" : false;
     },
     // 排序事件
     sortChangeHandle(params) {