|
|
@ -150,14 +150,14 @@ export default class LoginPage extends BasePage {
|
|
|
|
console.log('image', this.image);
|
|
|
|
console.log('image', this.image);
|
|
|
|
console.log('Version////', this.Version);
|
|
|
|
console.log('Version////', this.Version);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Version = '1.0.6';
|
|
|
|
Version = '1.0.7';
|
|
|
|
async update() {
|
|
|
|
async update() {
|
|
|
|
try {
|
|
|
|
try {
|
|
|
|
await session.QueryVersion(server.serverAddress);
|
|
|
|
await session.QueryVersion(server.serverAddress);
|
|
|
|
if (this.Version < session.Version) {
|
|
|
|
if (this.Version < session.Version) {
|
|
|
|
// 版本更新提示
|
|
|
|
// 版本更新提示
|
|
|
|
uni.showModal({
|
|
|
|
uni.showModal({
|
|
|
|
content: this.$t('message.Tip1') as string,
|
|
|
|
content: (this.$t('message.Tip3') + session.Version + ',' + this.$t('message.Tip1')) as string,
|
|
|
|
confirmText: this.$t('message.workArea_Confirm') as string,
|
|
|
|
confirmText: this.$t('message.workArea_Confirm') as string,
|
|
|
|
cancelText: this.$t('message.Cancel') as string,
|
|
|
|
cancelText: this.$t('message.Cancel') as string,
|
|
|
|
showCancel: false,
|
|
|
|
showCancel: false,
|
|
|
|