| | |
| | | data() { |
| | | return { |
| | | // #ifdef H5 |
| | | usercode: '999', |
| | | usercode: '', |
| | | // #endif |
| | | |
| | | // #ifdef APP-PLUS |
| | | usercode: '', |
| | | // #endif |
| | | |
| | | userpassword: '123', |
| | | userpassword: '', |
| | | isView: false, //密码是否可见 |
| | | |
| | | isDisabledSubmitButton: false, //提交按钮是否处于加载中 |
| | |
| | | AppUpgrade().then(res => { |
| | | this.isShow = res.data[0].version !== this.$appVersion |
| | | if (res.data[0].version !== this.$appVersion) { // 说明与最新版本不匹配 |
| | | this.downloadUrl = this.$baseUrl.substring(0, 25) + '/APK/JLAPP.apk' |
| | | this.downloadUrl = this.$baseUrl.substring(0, 25) + '/APK/YBAPP.apk' |
| | | } |
| | | }) |
| | | |