change prettier format

This commit is contained in:
Dawn1Ocean
2024-03-12 21:55:53 +08:00
parent e11a58dbb5
commit e1c3b464a6
14 changed files with 46 additions and 47 deletions
+8 -8
View File
@@ -74,12 +74,12 @@ export const mainPageZhCn: MainPageText = {
dutyCard: {
offDuty: {
title: '未值班',
reason: s => '值班停止原因:' + s,
recoverTime: t => '恢复值班时间:' + t,
reason: (s) => '值班停止原因:' + s,
recoverTime: (t) => '恢复值班时间:' + t,
},
inDuty: {
title: '值班中',
currentDutyText: c => {
currentDutyText: (c) => {
switch (c) {
case 'off':
return '当前未值班';
@@ -91,7 +91,7 @@ export const mainPageZhCn: MainPageText = {
return '第三班 18:00-20:30';
}
},
inDutyCnt: n => '当前值班人数:' + n,
inDutyCnt: (n) => '当前值班人数:' + n,
},
},
};
@@ -133,12 +133,12 @@ export const mainPageEnUs: MainPageText = {
dutyCard: {
offDuty: {
title: '未值班',
reason: s => '值班停止原因:' + s,
recoverTime: t => '恢复值班时间:' + t,
reason: (s) => '值班停止原因:' + s,
recoverTime: (t) => '恢复值班时间:' + t,
},
inDuty: {
title: '值班中',
currentDutyText: c => {
currentDutyText: (c) => {
switch (c) {
case 'off':
return '当前未值班';
@@ -150,7 +150,7 @@ export const mainPageEnUs: MainPageText = {
return '第三班 18:00-20:30';
}
},
inDutyCnt: n => '当前值班人数:' + n,
inDutyCnt: (n) => '当前值班人数:' + n,
},
},
};
+1 -1
View File
@@ -9,7 +9,7 @@ export interface NavBarTitle {
};
}
export const navBarTitleZhCh: NavBarTitle = {
export const navBarTitleZhCn: NavBarTitle = {
ticketDetail: '工单详情',
user: {
myTicket: '我的工单',
+2 -2
View File
@@ -6,7 +6,7 @@ export interface TicketListText {
}
export const ticketListZhCn: TicketListText = {
createdAt: time => {
createdAt: (time) => {
return '创建于' + ' ' + time;
},
statusMap: new Map([
@@ -19,7 +19,7 @@ export const ticketListZhCn: TicketListText = {
};
export const ticketListEnUs: TicketListText = {
createdAt: time => {
createdAt: (time) => {
return '创建于' + ' ' + time;
},
statusMap: new Map([
+2 -2
View File
@@ -8,7 +8,7 @@ import { AboutPageText, aboutPageEnUs, aboutPageZhCn } from './AboutPage';
import { ButtonText, buttonEnUs, buttonZhCn } from './Button';
import { MemberPageText, memberPageEnUs, memberPageZhCn } from './MemberPage';
import { TicketListText, ticketListEnUs, ticketListZhCn } from './TicketList';
import { NavBarTitle, navBarTitleEnUs, navBarTitleZhCh } from './NavBarTitle';
import { NavBarTitle, navBarTitleEnUs, navBarTitleZhCn } from './NavBarTitle';
import { RepairPageText, repairPageEnUs, repairPageZhCn } from './RepairPage';
import {
TicketDetailText,
@@ -46,7 +46,7 @@ const textZhCn: TextRecord = {
button: buttonZhCn,
memberPage: memberPageZhCn,
ticketList: ticketListZhCn,
navBar: navBarTitleZhCh,
navBar: navBarTitleZhCn,
repairPage: repairPageZhCn,
ticketDetail: ticketDetailZhCn,
};