Showing
1 changed file
with
20 additions
and
14 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 | - name: "Tina", | 29 | + { |
| 30 | - id: "", | 30 | + name: "Tina", |
| 31 | - phone: "", | 31 | + id: "", |
| 32 | - },{ | 32 | + phone: "" |
| 33 | - name: "aaaa", | 33 | + }, |
| 34 | - id: "", | 34 | + { |
| 35 | - phone: "", | 35 | + name: "aaaa", |
| 36 | - },{ | 36 | + id: "", |
| 37 | - name: "dddd", | 37 | + phone: "" |
| 38 | - id: "", | 38 | + }, |
| 39 | - phone: "", | 39 | + { |
| 40 | - }] | 40 | + name: "dddd", |
| 41 | + id: "", | ||
| 42 | + phone: "" | ||
| 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