fix:优化人工进项目
This commit is contained in:
		
							parent
							
								
									adbba0ea5f
								
							
						
					
					
						commit
						dab2d727fc
					
				| @ -1059,14 +1059,21 @@ struct Index { | |||||||
|         AmplifyPopup({ |         AmplifyPopup({ | ||||||
|           amplifyImgIndex: this.amplifiedImgIndex, |           amplifyImgIndex: this.amplifiedImgIndex, | ||||||
|           confirmAmplify: async (amplify) => { |           confirmAmplify: async (amplify) => { | ||||||
|             clearTimeout(this.popTimer) |             if (this.setManualProjectFn(this.amplifiedImgIndex)) { | ||||||
|             this.popTimer = null |               clearTimeout(this.popTimer) | ||||||
|             this.popTimer = setTimeout(async () => { |               this.popTimer = null | ||||||
|               const judge = this.judge |               this.popTimer = setTimeout(async () => { | ||||||
|               await judge.setJudgeItem(amplify.projectCode, 1); |                 const judge = this.judge | ||||||
|               this.isAmplifyPopShow = false |                 await judge.setJudgeItem(amplify.projectCode, 1); | ||||||
|               this.popTimer = null; |                 this.isAmplifyPopShow = false | ||||||
|             }, 500) |                 this.popTimer = null; | ||||||
|  |               }, 500) | ||||||
|  |             } else { | ||||||
|  |               Prompt.showToast({ | ||||||
|  |                 message: `有项目未结束,不允许人工操作!`, | ||||||
|  |                 duration: 8000 | ||||||
|  |               }); | ||||||
|  |             } | ||||||
|           }, |           }, | ||||||
|           closeAmplifyPop: () => { |           closeAmplifyPop: () => { | ||||||
|             this.isAmplifyPopShow = false |             this.isAmplifyPopShow = false | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user