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() {
 
 
-
-
+		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
-				}
+				}
+
 			}
 		})
 	}