소스 검색

强制升级

wangxy 2 일 전
부모
커밋
7414518c45
1개의 변경된 파일3개의 추가작업 그리고 2개의 파일을 삭제
  1. 3 2
      pages/admin/ShouYe/shouye.vue

+ 3 - 2
pages/admin/ShouYe/shouye.vue

@@ -267,9 +267,10 @@ function tjBtnClick(data){
 	
 	function getLoginInit(){
 			httpApi.getVersion({}).then(res => {
-				if (version == res.data.version) {
+				if (version != res.data.version) {
 					updateUrl.value = res.data.updateUrl
-					tipDialogRef2.value.handleShow();
+					// test 版本相同唤起弹窗
+					// tipDialogRef2.value.handleShow();
 					const systemInfo = uni.getSystemInfoSync();
 					if (systemInfo.platform == 'ios') {