Showing
1 changed file
with
14 additions
and
8 deletions
| @@ -25,19 +25,23 @@ export default class Customer extends Component { | @@ -25,19 +25,23 @@ export default class Customer extends Component { | ||
| 25 | PROFESSION: "", | 25 | PROFESSION: "", |
| 26 | hasCustomer: false, | 26 | hasCustomer: false, |
| 27 | customersList: ["张某某", "周某某", "林某某", "李某某"], | 27 | customersList: ["张某某", "周某某", "林某某", "李某某"], |
| 28 | - customersList2: [{ | 28 | + customersList2: [ |
| 29 | + { | ||
| 29 | name: "Tina", | 30 | name: "Tina", |
| 30 | id: "", | 31 | id: "", |
| 31 | - phone: "", | 32 | + phone: "" |
| 32 | - },{ | 33 | + }, |
| 34 | + { | ||
| 33 | name: "aaaa", | 35 | name: "aaaa", |
| 34 | id: "", | 36 | id: "", |
| 35 | - phone: "", | 37 | + phone: "" |
| 36 | - },{ | 38 | + }, |
| 39 | + { | ||
| 37 | name: "dddd", | 40 | name: "dddd", |
| 38 | id: "", | 41 | id: "", |
| 39 | - phone: "", | 42 | + phone: "" |
| 40 | - }] | 43 | + } |
| 44 | + ] | ||
| 41 | }; | 45 | }; |
| 42 | } | 46 | } |
| 43 | componentWillMount() { | 47 | componentWillMount() { |
| @@ -118,7 +122,9 @@ export default class Customer extends Component { | @@ -118,7 +122,9 @@ export default class Customer extends Component { | ||
| 118 | if (this.state.IS_LOGIN != "yes") { | 122 | if (this.state.IS_LOGIN != "yes") { |
| 119 | Alert.alert("请先登录账号"); | 123 | Alert.alert("请先登录账号"); |
| 120 | } else { | 124 | } else { |
| 121 | - {/* navigate("CustomerEdit"); */} | 125 | + { |
| 126 | + /* navigate("CustomerEdit"); */ | ||
| 127 | + } | ||
| 122 | } | 128 | } |
| 123 | }} | 129 | }} |
| 124 | > | 130 | > |
-
Please register or login to post a comment