wangguoyu 2 hafta önce
ebeveyn
işleme
e97c4cf098
1 değiştirilmiş dosya ile 4 ekleme ve 4 silme
  1. 4 4
      pages/login/index.vue

+ 4 - 4
pages/login/index.vue

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