|
@@ -31,6 +31,7 @@ import GradeSelectionModal from "./GradeSelectionModal";
|
|
|
import Header from "./Header";
|
|
|
import PersonalInfoDialog from "./PersonalInfoDialog";
|
|
|
import { NavigationActions, StackActions } from "react-navigation";
|
|
|
+import asyncStorage from "../utils/asyncStorage";
|
|
|
type Props = {};
|
|
|
|
|
|
export default class PersonalInfo extends BasePage {
|
|
@@ -110,7 +111,6 @@ export default class PersonalInfo extends BasePage {
|
|
|
style={{ flex: 4 }}
|
|
|
width={this.getWindowWidth()}
|
|
|
title="个人信息"
|
|
|
- backPress={() => this.goBack()}
|
|
|
lefttype={2}
|
|
|
righttype={0}
|
|
|
textcolor={"white"}
|
|
@@ -625,6 +625,7 @@ export default class PersonalInfo extends BasePage {
|
|
|
case 4:
|
|
|
this.dialog.setInfo("我的学校", "学校名称");
|
|
|
this.dialog.setModalVisible(true, 2);
|
|
|
+
|
|
|
break;
|
|
|
case 5:
|
|
|
this.gradeselectionModal.setModalVisible(true);
|
|
@@ -658,6 +659,7 @@ export default class PersonalInfo extends BasePage {
|
|
|
this.setState({
|
|
|
birthday_time: year + "年" + month + "月" + day + "日"
|
|
|
});
|
|
|
+ alert("birthday_time:" + this.state.birthday_time);
|
|
|
}
|
|
|
|
|
|
photoback(photo_uri) {
|