dam-7 feat 修改版本号为1.0.7

master
guoshuang 3 years ago
parent 46c59436f5
commit fd406231e3

@ -28,7 +28,8 @@ export default {
operation: '操作',
//版本更新
updatePrompt: '更新提示',
Tip1: '检测到有新版本,请更新!',
Tip1: '请更新!',
Tip3: '检测到有新版本为',
restart: '重启',
Tip2: '更新成功,是否重启?',
//服务器设置

@ -40,7 +40,8 @@ export default {
Pi_tip19: 'Only one item can be selected to modify the quantity',
//版本更新
updatePrompt: 'Update tips',
Tip1: 'New version detected, please update!',
Tip1: 'please update!',
Tip3: 'The new version detected is',
restart: 'Restart',
Tip2: 'Update succeeded. Are you sure to restart?',
//服务器设置

@ -150,14 +150,14 @@ export default class LoginPage extends BasePage {
console.log('image', this.image);
console.log('Version////', this.Version);
}
Version = '1.0.6';
Version = '1.0.7';
async update() {
try {
await session.QueryVersion(server.serverAddress);
if (this.Version < session.Version) {
//
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,
cancelText: this.$t('message.Cancel') as string,
showCancel: false,

Loading…
Cancel
Save