change prettier format
This commit is contained in:
@@ -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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
@@ -9,7 +9,7 @@ export interface NavBarTitle {
|
||||
};
|
||||
}
|
||||
|
||||
export const navBarTitleZhCh: NavBarTitle = {
|
||||
export const navBarTitleZhCn: NavBarTitle = {
|
||||
ticketDetail: '工单详情',
|
||||
user: {
|
||||
myTicket: '我的工单',
|
||||
|
||||
@@ -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([
|
||||
|
||||
@@ -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,
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user