فهرست منبع

app 版本升级与一键登录代码修改

shizhongqi 4 سال پیش
والد
کامیت
b543a62080
4فایلهای تغییر یافته به همراه9 افزوده شده و 9 حذف شده
  1. 3 3
      ghsApp/src/admin/home/login.vue
  2. 2 2
      ghsApp/src/manifest.json
  3. 2 2
      开发/ghsApp/src/manifest.json
  4. 2 2
      线上/ghsApp/src/manifest.json

+ 3 - 3
ghsApp/src/admin/home/login.vue

@@ -187,7 +187,7 @@ export default {
 				return false				
 				return false				
 			}
 			}
 
 
-			uni.showLoading({mask:true})
+			//uni.showLoading({mask:true})
 			uni.preLogin({
 			uni.preLogin({
 				provider: 'univerify',
 				provider: 'univerify',
 				success:()=>{
 				success:()=>{
@@ -207,7 +207,7 @@ export default {
 							let access_token = res.authResult.access_token
 							let access_token = res.authResult.access_token
 							phoneLogin({openid,access_token}).then(subRes=>{
 							phoneLogin({openid,access_token}).then(subRes=>{
 								let token = subRes.data.token || ''
 								let token = subRes.data.token || ''
-								uni.hideLoading()
+								//uni.hideLoading()
 								if (that.$util.isEmpty(token)) {
 								if (that.$util.isEmpty(token)) {
 									that.$msg('请先注册')
 									that.$msg('请先注册')
 									return false
 									return false
@@ -249,7 +249,7 @@ export default {
 							console.log(res)
 							console.log(res)
 						},
 						},
 						complete: (res) => {
 						complete: (res) => {
-							uni.hideLoading()
+							//uni.hideLoading()
 							uni.closeAuthView()
 							uni.closeAuthView()
 						}
 						}
 					})
 					})

+ 2 - 2
ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "批发进销存及财务管理系统",
     "description" : "批发进销存及财务管理系统",
-    "versionName" : "1.0.21",
-    "versionCode" : 121,
+    "versionName" : "1.0.22",
+    "versionCode" : 122,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
开发/ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "批发进销存及财务管理系统",
     "description" : "批发进销存及财务管理系统",
-    "versionName" : "1.0.19",
-    "versionCode" : 119,
+    "versionName" : "1.0.22",
+    "versionCode" : 122,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {

+ 2 - 2
线上/ghsApp/src/manifest.json

@@ -2,8 +2,8 @@
     "name" : "销花宝",
     "name" : "销花宝",
     "appid" : "__UNI__BD781B0",
     "appid" : "__UNI__BD781B0",
     "description" : "批发进销存及财务管理系统",
     "description" : "批发进销存及财务管理系统",
-    "versionName" : "1.0.19",
-    "versionCode" : 119,
+    "versionName" : "1.0.22",
+    "versionCode" : 122,
     "transformPx" : true,
     "transformPx" : true,
     /* 5+App特有相关 */
     /* 5+App特有相关 */
     "app-plus" : {
     "app-plus" : {