shish %!s(int64=2) %!d(string=hai) anos
pai
achega
0d2ebe0720
Modificáronse 1 ficheiros con 6 adicións e 0 borrados
  1. 6 0
      ghsApp/src/admin/home/workbench.vue

+ 6 - 0
ghsApp/src/admin/home/workbench.vue

@@ -402,6 +402,7 @@ export default {
 				})
 				// #endif
 				// #ifdef APP-PLUS
+				uni.showLoading()
 				if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){
 					plus.share.getServices(function(s){
 						var sweixin
@@ -411,6 +412,7 @@ export default {
 								sweixin = t;
 							}
 						}
+						uni.hideLoading()
 						let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.hd ? that.dictInfo.miniOriginalId.current.hd : ''
 						if (sweixin && sweixin.nativeClient) {
 							sweixin.launchMiniProgram({
@@ -432,6 +434,7 @@ export default {
 					that.$msg("请安装微信,再打开小程序")
 					return false
 				}
+				uni.hideLoading()
 				// #endif
 			}else if(item.url == 'buyRecord'){
 				// #ifdef MP-WEIXIN
@@ -446,6 +449,7 @@ export default {
 				})
 				// #endif
 				// #ifdef APP-PLUS
+				uni.showLoading()
 				if(plus.runtime.isApplicationExist({pname:'com.tencent.mm',action:'weixin://'})){
 					plus.share.getServices(function(s){
 						var sweixin
@@ -455,6 +459,7 @@ export default {
 								sweixin = t;
 							}
 						}
+						uni.hideLoading()
 						let miniOriginalId = that.dictInfo.miniOriginalId && that.dictInfo.miniOriginalId.current && that.dictInfo.miniOriginalId.current.hd ? that.dictInfo.miniOriginalId.current.hd : ''
 						if (sweixin && sweixin.nativeClient) {
 							sweixin.launchMiniProgram({
@@ -476,6 +481,7 @@ export default {
 					that.$msg("请安装微信,再打开小程序")
 					return false
 				}
+				uni.hideLoading()
 				// #endif
 			}else{
 				this.$util.pageTo(item)