|
|
@@ -37,8 +37,8 @@
|
|
|
<tel-dialog ref="telDialogRef" @telClose="telClose" @bindBtn="bindBtn" v-if="telDialogFlag"></tel-dialog>
|
|
|
<tipMiddleDialog ref="tipDialogRef" :closeFlag='false' :title="tipTitle" @confirm-btn="BanbenConfirmBtn"
|
|
|
:notClose="true" :content="tipContent"></tipMiddleDialog>
|
|
|
- <tipMiddleDialog ref="tipDialogRef2" :closeFlag='false' :title="tipTitle" @confirm-btn="BanbenConfirmBtn" :showTip="true"
|
|
|
- :notClose="true" :content="tipContentAndroid">
|
|
|
+ <tipMiddleDialog ref="tipDialogRef2" :closeFlag='false' :title="tipTitle" @confirm-btn="BanbenConfirmBtn"
|
|
|
+ :showTip="true" :notClose="true" :content="tipContentAndroid">
|
|
|
</tipMiddleDialog>
|
|
|
</view>
|
|
|
</template>
|
|
|
@@ -100,7 +100,7 @@
|
|
|
const telDialogRef = ref(null);
|
|
|
let telDialogFlag = ref(false);
|
|
|
let showAppleLogin = ref(false);
|
|
|
- let wxFlag = ref(true);
|
|
|
+ let wxFlag = ref(true);
|
|
|
let ykFlag = ref(true);
|
|
|
|
|
|
const version = config.appInfo.version;
|
|
|
@@ -152,7 +152,7 @@
|
|
|
} else {
|
|
|
initDownload(updateUrl.value)
|
|
|
// 处理 Android/HarmonyOS 设备
|
|
|
- /* const {
|
|
|
+ /* const {
|
|
|
brand
|
|
|
} = systemInfo;
|
|
|
const androidPackage = 'com.llisoft.ezy'; // 安卓包名
|
|
|
@@ -208,7 +208,7 @@
|
|
|
getVersion({}).then(res => {
|
|
|
if (version != res.data.version) {
|
|
|
updateUrl.value = res.data.updateUrl
|
|
|
-
|
|
|
+
|
|
|
if (systemInfo.platform == 'ios') {
|
|
|
tipDialogRef.value.handleShow();
|
|
|
} else {
|
|
|
@@ -218,21 +218,25 @@
|
|
|
// url: res.data.updateUrl
|
|
|
// })
|
|
|
}
|
|
|
- } else {
|
|
|
- if(systemInfo.platform == 'ios'){
|
|
|
- // 游客模式 新增 tishen字段 用于苹果审核
|
|
|
- if(cacheManager.get("youkeTishen")){
|
|
|
- cacheManager.remove('youkeTishen')
|
|
|
- }
|
|
|
- if (res.data.tishen.toString() == 'true') {
|
|
|
- cacheManager.set('youkeTishen', res.data.tishen)
|
|
|
- ykFlag.value = true
|
|
|
- }else{
|
|
|
- ykFlag.value = false
|
|
|
- }
|
|
|
- }else{
|
|
|
- ykFlag.value = true
|
|
|
- }
|
|
|
+ } else {
|
|
|
+ if (systemInfo.platform == 'ios') {
|
|
|
+ // 游客模式 新增 tishen字段 用于苹果审核
|
|
|
+ if (cacheManager.get("youkeTishen")) {
|
|
|
+ cacheManager.remove('youkeTishen')
|
|
|
+ }
|
|
|
+ if (res.data.tishen.toString() == 'true') {
|
|
|
+ cacheManager.set('youkeTishen', res.data.tishen)
|
|
|
+ ykFlag.value = true
|
|
|
+ } else {
|
|
|
+ ykFlag.value = false
|
|
|
+ }
|
|
|
+ } else {
|
|
|
+ if (cacheManager.get("youkeTishen")) {
|
|
|
+ cacheManager.remove('youkeTishen')
|
|
|
+ }
|
|
|
+ cacheManager.set('youkeTishen', res.data.tishen)
|
|
|
+ ykFlag.value = true
|
|
|
+ }
|
|
|
|
|
|
}
|
|
|
})
|