| | |
| | | </label> |
| | | </checkbox-group> |
| | | <text class="changeIP" @click="changeIP()">设置IP</text> |
| | | <text class="changeIP" @click="longpressImg()">设置端口</text> |
| | | </view> |
| | | <view class="flex padding justify-center margin-top"> |
| | | <button class="cu-btn bg-blue lg shadow" :loading="loading" :class="[shape=='round'?'round':'']" |
| | |
| | | } |
| | | }, |
| | | onLogin: function (){ |
| | | console.log(this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + '/login.action'); |
| | | if(!this.userName || this.userName.length==0){ |
| | | uni.showToast({title: '请填写账号',icon: "none"}) |
| | | return; |
| | |
| | | return; |
| | | } |
| | | uni.showLoading(); |
| | | |
| | | uni.request({ |
| | | url: this.baseHttp + this.baseIP + ':' +this.basePORT + this.baseUrl + '/login.action', |
| | | data: { |
| | | mobile:this.userName, |
| | | username:this.userName, |
| | | password:md5.hex_md5(this.password) |
| | | }, |
| | | header: { |