feat,refac: vue3로 작성한 새 연감 페이지 #217

Merged
Hide_D merged 10 commits from v_history into devel 2022-04-20 21:04:56 +09:00
Showing only changes of commit afea85d558 - Show all commits
+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;