diff --git a/manifest.json b/manifest.json index 54392c9..88fbfd8 100644 --- a/manifest.json +++ b/manifest.json @@ -2,8 +2,8 @@ "name" : "秦港安全", "appid" : "__UNI__DB65C6B", "description" : "秦港双控-监管端", - "versionName" : "2.3.9", - "versionCode" : 249, + "versionName" : "2.3.10", + "versionCode" : 251, "transformPx" : false, /* 5+App特有相关 android:value="uni.UN5E8A412|__UNI__DB65C6B|124611200205|common" */ @@ -116,6 +116,9 @@ "spotlight@3x" : "unpackage/res/icons/120x120.png" } } + }, + "splashscreen" : { + "useOriginalMsgbox" : true } } }, diff --git a/pages/login/login.vue b/pages/login/login.vue index 789b836..8e07cf8 100644 --- a/pages/login/login.vue +++ b/pages/login/login.vue @@ -99,14 +99,15 @@ export default { }); uni.setStorageSync('token', token); uni.setStorageSync('tokenTime', dayjs().format("YYYY-MM-DD HH:mm:ss")); - const { osName } = await uni.getSystemInfoSync(); - let osInt; - if (osName === "android") { - osInt = "1"; - } else { - osInt = "2"; - } - if (firstLogin === 1 && osInt === "1") { + // const { osName } = await uni.getSystemInfoSync(); + // let osInt; + // if (osName === "android") { + // osInt = "1"; + // } else { + // osInt = "2"; + // } + // if (firstLogin === 1 && osInt === "1") { + if (firstLogin === 1) { uni.$u.route({ url: '/pages/login/change-password/change-password', type: 'reLaunch'