wangguoyu пре 2 недеља
родитељ
комит
e97c4cf098
1 измењених фајлова са 4 додато и 4 уклоњено
  1. 4 4
      pages/login/index.vue

+ 4 - 4
pages/login/index.vue

@@ -204,12 +204,11 @@
 	function getLoginInit() {
 	function getLoginInit() {
 
 
 
 
-
-
+		const systemInfo = uni.getSystemInfoSync();
 		getVersion({}).then(res => {
 		getVersion({}).then(res => {
 			if (version != res.data.version) {
 			if (version != res.data.version) {
 				updateUrl.value = res.data.updateUrl
 				updateUrl.value = res.data.updateUrl
-				const systemInfo = uni.getSystemInfoSync();
+		
 				if (systemInfo.platform == 'ios') {
 				if (systemInfo.platform == 'ios') {
 					tipDialogRef.value.handleShow();
 					tipDialogRef.value.handleShow();
 				} else {
 				} else {
@@ -233,7 +232,8 @@
 					}
 					}
 				}else{
 				}else{
 						ykFlag.value = true
 						ykFlag.value = true
-				}
+				}
+
 			}
 			}
 		})
 		})
 	}
 	}