| | |
| | | <view class="item"> |
| | | <view class="title">接口地址</view> |
| | | <view class="line"> |
| | | <input type="text" placeholder="http://10.50.250.178:8088/gateway_interface/" v-model="param.baseUrl" /> |
| | | <input type="text" v-model="param.baseUrl" /> |
| | | <image src="../../static/icon/right.svg" class="icon"></image> |
| | | </view> |
| | | </view> |
| | |
| | | export default { |
| | | data() { |
| | | return { |
| | | param: {} |
| | | param: { |
| | | baseUrl: 'http://192.168.5.13/gateway_interface/' |
| | | } |
| | | }; |
| | | }, |
| | | onLoad(){ |
| | | const param = uni.getStorageSync('param') || {} |
| | | const param = uni.getStorageSync('param') || { |
| | | baseUrl: 'http://192.168.5.13/gateway_interface/' |
| | | } |
| | | this.param = { ...param } |
| | | }, |
| | | methods: { |