瀏覽代碼

优化筛选

flyzto 2 月之前
父節點
當前提交
5a99bf5b68
共有 2 個文件被更改,包括 2 次插入2 次删除
  1. 1 1
      server/models/GamesPs.js
  2. 1 1
      web/apps/web-antd/src/views/match/solutions/index.vue

+ 1 - 1
server/models/GamesPs.js

@@ -784,7 +784,7 @@ const updateSolutions = (solutions, eventsLogsMap) => {
         updateIds.add.length, updateIds.update.length, updateIds.retain.length, updateIds.remove.length);
     }
     else {
-      Logs.outDev('solutions update complete');
+      Logs.outDev('solutions update complete', updateIds);
     }
 
   }

+ 1 - 1
web/apps/web-antd/src/views/match/solutions/index.vue

@@ -40,7 +40,7 @@ const headerStyle = computed(() => {
 const solutionsList = computed(() => {
   return solutions.value.map(item => {
     const selected = selectedSolutions.findIndex(sol => sol.id == item.id) >= 0;
-    const topSolutions = item.solutions.slice(0, 5);
+    const topSolutions = item.solutions.slice(0, 10);
     return { ...item, solutions: topSolutions, selected };
   });
 });