<!DOCTYPE html>
<html>
<head>
<meta charset=utf-8>
</head>
<body>
<script type="text/javascript">
const _shouldUpdate = (oldVersion, newVersion) => {
// 补全代码
let old1 = parseInt(oldVersion.replace(/\./,""))
let new1 = parseInt(newVersion.replace(/\./,""))
return new1 > old1 ? true:false
}
</script>
</body>
</html>