|
|
|
@ -95,7 +95,8 @@ export default class RawHome extends BasePage {
|
|
|
|
|
async checkupdate() {
|
|
|
|
|
try {
|
|
|
|
|
this.checkversion = await model.checkupdate();
|
|
|
|
|
let versionNumber = this.compareVersion(this.version, this.checkversion.Version);
|
|
|
|
|
const queryversion = this.checkversion.Version.match(/\d+\.\d+\.\d+/)[0];
|
|
|
|
|
let versionNumber = this.compareVersion(this.version, queryversion);
|
|
|
|
|
versionNumber = 1;
|
|
|
|
|
if (versionNumber == -1) {
|
|
|
|
|
// 版本更新提示
|
|
|
|
|