add card note for members in mainPage

main
Dawn_Ocean 2024-03-22 16:20:15 +08:00
parent 24f71ed997
commit c8dd8061b2
3 changed files with 6 additions and 7 deletions

View File

@ -106,8 +106,7 @@ export default class MainPage extends Component<{}, MainPageState> {
}; };
componentDidMount(): void { componentDidMount(): void {
const ptPage = wechatUser.getAccess() ? 'mainPage' : 'memberPage'; const ptPage = wechatUser.getAccess() ? 'memberPage' : 'mainPage';
this.setState({ this.setState({
dutyData: new DutyData(), dutyData: new DutyData(),
inDutyCnt: 0, inDutyCnt: 0,

View File

@ -106,8 +106,8 @@ export const memberPageZhCn: MemberPageText = {
admin: '组长管理入口', admin: '组长管理入口',
}, },
cardTips: { cardTips: {
dutyInfo: '提示:可以先前往【维修】页面在线上预填写工单', dutyInfo: '提示:如果有事不能值班,请及时请假',
stepInfo: '提示:请在 20:30 之前取走自己的物品哦', stepInfo: '提示:维修完成请清点机主物品',
tipsInfo: '', tipsInfo: '',
}, },
extraInfo: { extraInfo: {
@ -183,8 +183,9 @@ export const memberPageEnUs: MemberPageText = {
admin: 'Entry for admin', admin: 'Entry for admin',
}, },
cardTips: { cardTips: {
dutyInfo: '提示:可以先前往【维修】页面在线上预填写工单!', dutyInfo:
stepInfo: '提示:请在 20:30 之前取走自己的物品哦!', "Tips: If you can't be on duty, please ask for an excused absence!",
stepInfo: "Tips: Inventory owner's belongings after maintenance!",
tipsInfo: '', tipsInfo: '',
}, },
extraInfo: { extraInfo: {

View File

@ -26,7 +26,6 @@ export function loginAte() {
.catch((err) => { .catch((err) => {
console.log(err); console.log(err);
}); });
getLocaleData();
} else { } else {
console.log('Login Failed: ' + res.errMsg); console.log('Login Failed: ' + res.errMsg);
} }