chore: bump version to T1.0.2 (versionCode 102)
This commit is contained in:
@ -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);
|
||||
},
|
||||
|
||||
|
||||
@ -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" : {
|
||||
|
||||
@ -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">
|
||||
|
||||
@ -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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user