Browse Source

强制升级

wangxy 2 ngày trước cách đây
mục cha
commit
7414518c45
1 tập tin đã thay đổi với 3 bổ sung2 xóa
  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') {