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