add card note for members in mainPage
parent
24f71ed997
commit
c8dd8061b2
|
|
@ -106,8 +106,7 @@ export default class MainPage extends Component<{}, MainPageState> {
|
|||
};
|
||||
|
||||
componentDidMount(): void {
|
||||
const ptPage = wechatUser.getAccess() ? 'mainPage' : 'memberPage';
|
||||
|
||||
const ptPage = wechatUser.getAccess() ? 'memberPage' : 'mainPage';
|
||||
this.setState({
|
||||
dutyData: new DutyData(),
|
||||
inDutyCnt: 0,
|
||||
|
|
|
|||
|
|
@ -106,8 +106,8 @@ export const memberPageZhCn: MemberPageText = {
|
|||
admin: '组长管理入口',
|
||||
},
|
||||
cardTips: {
|
||||
dutyInfo: '提示:可以先前往【维修】页面在线上预填写工单!',
|
||||
stepInfo: '提示:请在 20:30 之前取走自己的物品哦!',
|
||||
dutyInfo: '提示:如果有事不能值班,请及时请假!',
|
||||
stepInfo: '提示:维修完成请清点机主物品!',
|
||||
tipsInfo: '',
|
||||
},
|
||||
extraInfo: {
|
||||
|
|
@ -183,8 +183,9 @@ export const memberPageEnUs: MemberPageText = {
|
|||
admin: 'Entry for admin',
|
||||
},
|
||||
cardTips: {
|
||||
dutyInfo: '提示:可以先前往【维修】页面在线上预填写工单!',
|
||||
stepInfo: '提示:请在 20:30 之前取走自己的物品哦!',
|
||||
dutyInfo:
|
||||
"Tips: If you can't be on duty, please ask for an excused absence!",
|
||||
stepInfo: "Tips: Inventory owner's belongings after maintenance!",
|
||||
tipsInfo: '',
|
||||
},
|
||||
extraInfo: {
|
||||
|
|
|
|||
|
|
@ -26,7 +26,6 @@ export function loginAte() {
|
|||
.catch((err) => {
|
||||
console.log(err);
|
||||
});
|
||||
getLocaleData();
|
||||
} else {
|
||||
console.log('Login Failed: ' + res.errMsg);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue