chore: bump version to T1.0.2 (versionCode 102)

This commit is contained in:
2026-08-07 13:22:10 +08:00
parent a72c8c89e3
commit abbf0f5a24
4 changed files with 6 additions and 6 deletions

View File

@ -3,7 +3,7 @@ import { getNotifications } from "./api/notification";
export default {
onLaunch() {
console.log("生产流转 T1.0.1 启动");
console.log("生产流转 T1.0.2 启动");
// 无 Token 跳转登录页
const token = uni.getStorageSync("access_token");
@ -72,7 +72,7 @@ export default {
if (!versionStr) return 0;
const nums = versionStr.match(/\d+/g);
if (!nums) return 0;
// 取后三位拼成整数: "T1.0.1" → [1,0,1] → 101
// 取后三位拼成整数: "T1.0.2" → [1,0,1] → 101
return parseInt(nums.slice(-3).join("").padEnd(3, "0").slice(0, 3), 10);
},