feat: wip

This commit is contained in:
2022-04-20 20:59:10 +09:00
parent 758e9801f5
commit afea85d558
+11 -2
View File
@@ -6,10 +6,18 @@
{{ date.year }} {{ date.month }} {{ date.queried ? `선택` : "" }} {{ date.current ? "현재" : "" }}
</div>
<div>
<pre v-for="(item, idx) in history.global_action" :key="idx">{{item}}</pre>
<template v-for="(item, idx) in history.global_action" :key="idx">
<!-- eslint-disable-next-line vue/no-v-html -->
<span v-html="formatLog(item)"></span>
<br />
</template>
</div>
<div>
<pre v-for="(item, idx) in history.global_history" :key="idx">{{item}}</pre>
<template v-for="(item, idx) in history.global_history" :key="idx">
<!-- eslint-disable-next-line vue/no-v-html -->
<span v-html="formatLog(item)"></span>
<br />
</template>
</div>
</div>
</template>
@@ -33,6 +41,7 @@ import type { HistoryObj } from "./defs/API/Global";
import { SammoAPI } from "./SammoAPI";
import { joinYearMonth } from "./util/joinYearMonth";
import { parseYearMonth } from "./util/parseYearMonth";
import { formatLog } from "./utilGame/formatLog";
const queryYearMonth = ref<number>();
const queryServerID = query.serverID;