| | |
| | | </view> |
| | | <view class="config-item"> |
| | | <text>项目:</text> |
| | | <input v-model="PJO" type="text" placeholder="jkwms" placeholder-style="font-size:16rpx;text-indent: 10rpx;"> |
| | | <input v-model="PROJECT" type="text" placeholder="jkwms" placeholder-style="font-size:16rpx;text-indent: 10rpx;"> |
| | | </view> |
| | | <view> |
| | | <button @click="configConfirm">确认</button> |
| | | <view class="flex justify-around"> |
| | | <button class="cu-btn bg-blue lg" @click="configConfirm">确认</button> |
| | | </view> |
| | | </view> |
| | | </uni-popup> |
| | |
| | | rember:true, |
| | | IP:'10.20.192.200', |
| | | PORT:'8080',// 默认端口号 |
| | | PROJECT:'jkwms' |
| | | PROJECT:'' |
| | | }; |
| | | }, |
| | | mounted() { |
| | |
| | | that.PORT = '8080'; |
| | | } |
| | | const PROJ = uni.getStorageSync('UPROJ'); |
| | | this.PROJECT = PROJ; |
| | | this.baseUrl = PROJ |
| | | }, |
| | | onLoad:function(){ |
| | |
| | | } |
| | | uni.setStorageSync('token', res.data.token); |
| | | setTimeout(() => { |
| | | uni.navigateBack(); // 小程序用这个 把首页路由放第一个 |
| | | // uni.navigateBack(); // 小程序用这个 把首页路由放第一个 |
| | | uni.reLaunch({ |
| | | url: '../index/index' |
| | | }); |