yangjie #49

Merged
yangqiang merged 71 commits from yangjie into master 2025-03-10 14:21:26 +08:00
1 changed files with 1 additions and 1 deletions
Showing only changes of commit 882bacb2d5 - Show all commits

View File

@ -99,7 +99,7 @@ export const isVersion = (callBack: Function) => {
if (res.status === 200 && res.data) { if (res.status === 200 && res.data) {
const data = yaml.load(res.data); // 解析 YAML 内容 const data = yaml.load(res.data); // 解析 YAML 内容
window.electron.getVersion().then(req => { window.electron.getVersion().then(req => {
if (compareVersions(data.version, req) == 0) { if (compareVersions(data.version, req) == 1) {
callBack(true) callBack(true)
} else { } else {
callBack(false) callBack(false)