feat: 수뇌인 경우 하늘색
This commit is contained in:
@@ -578,6 +578,9 @@ const columnRawDefs = ref<Partial<Record<headerType, GenColDef | GenColGroupDef>
|
|||||||
sortable: true,
|
sortable: true,
|
||||||
comparator: (a, b, c, d) => c.data.officerLevel - d.data.officerLevel,
|
comparator: (a, b, c, d) => c.data.officerLevel - d.data.officerLevel,
|
||||||
cellRenderer: ({ data }: GenValueParams) => {
|
cellRenderer: ({ data }: GenValueParams) => {
|
||||||
|
if(data.officerLevel >= 5){
|
||||||
|
return `<span style="color:cyan;">${data.officerLevelText}</span>`;
|
||||||
|
}
|
||||||
if (data.st2 && 2 <= data.officerLevel && data.officerLevel <= 4) {
|
if (data.st2 && 2 <= data.officerLevel && data.officerLevel <= 4) {
|
||||||
const cityName = gameConstStore.value.cityConst[data.officer_city].name;
|
const cityName = gameConstStore.value.cityConst[data.officer_city].name;
|
||||||
return `${cityName}<br>${data.officerLevelText}`;
|
return `${cityName}<br>${data.officerLevelText}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user