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,
},
},
};