zq940222 3 months ago
parent
commit
201730896e
1 changed files with 3 additions and 1 deletions
  1. 3 1
      src/views/adweb/marketing/googleads.vue

+ 3 - 1
src/views/adweb/marketing/googleads.vue

@@ -213,7 +213,9 @@ const chartDetailDataCol = ref([
   {
     title: '展示数 | 点击数',
     key: 'numSlot',
-    align: 'right'
+    align: 'right',
+    sorter: (a, b) => a.impressions - b.impressions,
+    defaultSortOrder: 'descend'
   }
 ]);