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,
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user