fix: 연감 철자 수정

This commit is contained in:
2022-04-21 22:44:02 +09:00
parent 2240282155
commit e51421780e
2 changed files with 4 additions and 4 deletions
+3 -3
View File
@@ -53,7 +53,7 @@
<script lang="ts">
declare const staticValues: {
fisrtYearMonth: number;
firstYearMonth: number;
lastYearMonth: number;
currentYearMonth: number;
serverNick: string;
@@ -87,7 +87,7 @@ const queryServerID = query.serverID;
const serverNick = staticValues.serverNick;
const lastYearMonth = ref(staticValues.lastYearMonth);
const firstYearMonth = ref(staticValues.fisrtYearMonth);
const firstYearMonth = ref(staticValues.firstYearMonth);
const currentYearMonth = ref(staticValues.currentYearMonth);
const asyncReady = ref<boolean>(false);
@@ -179,7 +179,7 @@ onMounted(() => {
if (query.yearMonth > staticValues.lastYearMonth + 1) {
return staticValues.currentYearMonth;
}
if (query.yearMonth < staticValues.fisrtYearMonth) {
if (query.yearMonth < staticValues.firstYearMonth) {
return staticValues.currentYearMonth;
}
return query.yearMonth;