heyang 3 år sedan
förälder
incheckning
d02b12cf04
1 ändrade filer med 4 tillägg och 10 borttagningar
  1. 4 10
      microserviceUserH5/vcloud/actFission.html

+ 4 - 10
microserviceUserH5/vcloud/actFission.html

@@ -442,15 +442,8 @@
 					location.href = `./actFissionList.html?id=${item.id}&title=${encodeURI(item.tagName)}&token=${GetRequest().token}`;
 				},
 				getTagList(){
-					this.$toast.loading({
-						duration: 0,
-						message: '加载中...',
-						forbidClick: true,
-						loadingType: 'spinner',
-					});
 					// 获取标签列表
 					getTagList(GetRequest().token).then(res => {
-						// this.$toast.clear();
 						if (res.status === 0) {
 							this.tagList = res.data;
 						} else {
@@ -459,7 +452,6 @@
 					})
 				},
 				goReward(type) {
-
 					this.$toast.loading({
 						duration: 0,
 						message: '加载中...',
@@ -467,7 +459,6 @@
 						loadingType: 'spinner',
 					});
 					getActDetailList(GetRequest().token).then(res => {
-						// this.$toast.clear();
 						if (res.status === 0) {
 							console.log(type)
 							if(type === 'look'){
@@ -479,6 +470,8 @@
 							if (this.actStatus != 1) {
 								this.$toast('活动已下架');
 								return
+							} else {
+								this.$toast.clear();
 							}
 							// this.stopManyClick(() => {
 							this.getShare();
@@ -533,12 +526,13 @@
 						loadingType: 'spinner',
 					});
 					getActDetailList(GetRequest().token).then(res => {
-						// this.$toast.clear();
 						if (res.status === 0) {
 							this.actStatus = res.data.actStatus;
 							if (this.actStatus == 0) {
 								this.$toast('活动已下架');
 								return
+							} else {
+								this.$toast.clear();
 							}
 							this.shareInfo = res.data;
 						} else {