diff --git a/manifest.json b/manifest.json index 5d0a1cc..4765012 100644 --- a/manifest.json +++ b/manifest.json @@ -92,7 +92,8 @@ "hdpi" : "unpackage/res/splash/480+762.png", "xhdpi" : "unpackage/res/splash/720+1242.png", "xxhdpi" : "unpackage/res/splash/1080+1882.png" - } + }, + "iosStyle" : "common" }, "icons" : { "android" : { diff --git a/unpackage/debug/.ios.ins b/unpackage/debug/.ios.ins index 3b526db..3856a44 100644 --- a/unpackage/debug/.ios.ins +++ b/unpackage/debug/.ios.ins @@ -1 +1 @@ -forceInstall \ No newline at end of file +installed \ No newline at end of file diff --git a/unpackage/debug/iOS_debug.ipa b/unpackage/debug/iOS_debug.ipa index f8b51d1..8543626 100644 Binary files a/unpackage/debug/iOS_debug.ipa and b/unpackage/debug/iOS_debug.ipa differ diff --git a/utils/index.js b/utils/index.js index f323b57..8acd707 100644 --- a/utils/index.js +++ b/utils/index.js @@ -240,6 +240,11 @@ export const login = () => { reject('当前运行环境为H5') return } + if (Vue.prototype.$deviceType == 'app') { + console.log('当前运行环境为app') + reject('当前运行环境为app') + return + } console.log('————————————————————') console.log('开始登录') console.log('————————————————————')