fix: volar error 수정
- getNPCColor 반환형
This commit is contained in:
@@ -105,7 +105,7 @@
|
|||||||
<NumberInputWithInfo
|
<NumberInputWithInfo
|
||||||
title="입찰 포인트"
|
title="입찰 포인트"
|
||||||
:min="inheritActionCost.minSpecificUnique"
|
:min="inheritActionCost.minSpecificUnique"
|
||||||
:max="this.items.previous"
|
:max="items.previous"
|
||||||
v-model="specificUniqueAmount"
|
v-model="specificUniqueAmount"
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@@ -67,7 +67,7 @@
|
|||||||
>유저전투장에게 주는 금입니다. 이보다 적으면 포상합니다. <br />
|
>유저전투장에게 주는 금입니다. 이보다 적으면 포상합니다. <br />
|
||||||
0이면 유저전투장 긴급포상 금의 2배를 기준으로 하며, 그 수치는 현재
|
0이면 유저전투장 긴급포상 금의 2배를 기준으로 하며, 그 수치는 현재
|
||||||
{{
|
{{
|
||||||
(calcPolicyValue("reqHumanWarUrgentGold") * 2).toLocaleString()
|
(calcPolicyValue("reqHumanWarUrgentGold") as number * 2).toLocaleString()
|
||||||
}}입니다.</NumberInputWithInfo
|
}}입니다.</NumberInputWithInfo
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -79,7 +79,7 @@
|
|||||||
>유저전투장에게 주는 쌀입니다. 이보다 적으면 포상합니다. <br />
|
>유저전투장에게 주는 쌀입니다. 이보다 적으면 포상합니다. <br />
|
||||||
0이면 유저전투장 긴급포상 쌀의 2배를 기준으로 하며, 그 수치는 현재
|
0이면 유저전투장 긴급포상 쌀의 2배를 기준으로 하며, 그 수치는 현재
|
||||||
{{
|
{{
|
||||||
(calcPolicyValue("reqHumanWarUrgentRice") * 2).toLocaleString()
|
(calcPolicyValue("reqHumanWarUrgentRice") as number * 2).toLocaleString()
|
||||||
}}입니다.</NumberInputWithInfo
|
}}입니다.</NumberInputWithInfo
|
||||||
>
|
>
|
||||||
</div>
|
</div>
|
||||||
@@ -505,7 +505,7 @@ type SetterInfo = {
|
|||||||
};
|
};
|
||||||
|
|
||||||
declare const lastSetters: {
|
declare const lastSetters: {
|
||||||
polcy: SetterInfo;
|
policy: SetterInfo;
|
||||||
nation: SetterInfo;
|
nation: SetterInfo;
|
||||||
general: SetterInfo;
|
general: SetterInfo;
|
||||||
};
|
};
|
||||||
|
|||||||
@@ -44,7 +44,7 @@
|
|||||||
<div
|
<div
|
||||||
v-for="([endYear, endMonth], _idx) in [
|
v-for="([endYear, endMonth], _idx) in [
|
||||||
parseYearMonth(
|
parseYearMonth(
|
||||||
joinYearMonth(year, month) + nation.diplomacy.term
|
joinYearMonth(year, month) + (nation.diplomacy.term??0)
|
||||||
),
|
),
|
||||||
]"
|
]"
|
||||||
:key="_idx"
|
:key="_idx"
|
||||||
|
|||||||
@@ -79,7 +79,7 @@ function br2nl (text) {
|
|||||||
}
|
}
|
||||||
*/
|
*/
|
||||||
|
|
||||||
export function getNpcColor(npcType: number): 'skyblue' | 'cyan' | 'deepskyblue' | 'darkcyan' | 'mediumaquamarine' | null {
|
export function getNpcColor(npcType: number): 'skyblue' | 'cyan' | 'deepskyblue' | 'darkcyan' | 'mediumaquamarine' | undefined {
|
||||||
if (npcType == 6){
|
if (npcType == 6){
|
||||||
return 'mediumaquamarine';
|
return 'mediumaquamarine';
|
||||||
}
|
}
|
||||||
@@ -95,5 +95,5 @@ export function getNpcColor(npcType: number): 'skyblue' | 'cyan' | 'deepskyblue'
|
|||||||
if (npcType == 1) {
|
if (npcType == 1) {
|
||||||
return 'skyblue';
|
return 'skyblue';
|
||||||
}
|
}
|
||||||
return null;
|
return undefined;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user