| | |
| | | } |
| | | }, |
| | | onLoad:function(){ |
| | | this.user.userName = uni.getStorageSync('userName') |
| | | // #ifdef APP-PLUS |
| | | var that=this |
| | | plus.runtime.getProperty( plus.runtime.appid, function ( wgtinfo ) { |
| | | that.version=wgtinfo.version |
| | | }); |
| | | // #endif |
| | | let that = this |
| | | that.user.userName = uni.getStorageSync('userName') |
| | | |
| | | |
| | | }, |
| | | methods: { |
| | | changePassword: function() { |
| | |
| | | onLogin() { |
| | | let that = this |
| | | uni.request({ |
| | | url: 'http://127.0.0.1:9528/login.action', |
| | | url: 'http://localhost:9528/login.action', |
| | | fail(result) { |
| | | uni.showToast({title: '请求失败'}) |
| | | }, |