diff --git a/README.md b/README.md index 1267423..20f49a4 100644 --- a/README.md +++ b/README.md @@ -80,6 +80,7 @@ npm install react-native-picker-xg --save * Step2--init an react-native project * Step3--copy the zip's content into your project * Step4--change the index.android.js's last line ``AppRegistry.registerComponent('widgets', () => TpickerEx);``'s widgets into your project's name. -* Step5--npm install +* Step5--change the yourownip in line 19 in example/index.js to your own ip +* Step6--npm install diff --git a/example/index.js b/example/index.js index 2eda345..1971276 100644 --- a/example/index.js +++ b/example/index.js @@ -14,7 +14,9 @@ import { import Test3, {CascadePicker} from '../app/pickerLogic/picker'; import styles from './style'; import {wheel2} from './data'; -const ip = 'http://172.18.47.119:3000/'; + +// your own ip +const ip = 'http://yourownip:3000/'; export default class TpickerEx extends Component {