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);
},

View File

@ -2,8 +2,8 @@
"name" : "Track",
"appid" : "__UNI__B572616",
"description" : "Track - 生产流转管理",
"versionName" : "T1.0.1",
"versionCode" : "100",
"versionName" : "T1.0.2",
"versionCode" : 102,
"transformPx" : false,
"vueVersion" : "3",
"app-plus" : {

View File

@ -3,7 +3,7 @@
<view class="header">
<text class="logo">🏭</text>
<text class="title">Track</text>
<text class="version">T1.0.1</text>
<text class="version">T1.0.2</text>
</view>
<view class="form">

View File

@ -15,7 +15,7 @@
</view>
<button class="logout-btn" @tap="handleLogout">退出登录</button>
<view class="version">T1.0.1</view>
<view class="version">T1.0.2</view>
</view>
</template>