|
|
@@ -68,6 +68,9 @@
|
|
|
<button class="btn btn-secondary" @click="verifyData">
|
|
|
验证数据
|
|
|
</button>
|
|
|
+ <button class="btn btn-secondary" @click="filterLive">
|
|
|
+ 筛选滚球
|
|
|
+ </button>
|
|
|
</div>
|
|
|
</div>
|
|
|
</div>
|
|
|
@@ -129,6 +132,15 @@ const verifyData = () => {
|
|
|
console.log('invalidSolutions', invalidSolutions);
|
|
|
}
|
|
|
|
|
|
+const filterLive = () => {
|
|
|
+ const solutions = gamesSolution.value.solutions;
|
|
|
+ const liveSolutions = solutions.filter((solution) => {
|
|
|
+ const { info: { ob, hg, ps } } = solution;
|
|
|
+ return ps.stage;
|
|
|
+ });
|
|
|
+ console.log('liveSolutions', liveSolutions);
|
|
|
+}
|
|
|
+
|
|
|
// const currentTime = ref('')
|
|
|
|
|
|
// const updateTime = () => {
|