fix:优化人工进项目

This commit is contained in:
lixiao 2025-06-18 15:26:56 +08:00
parent adbba0ea5f
commit dab2d727fc

View File

@ -1059,6 +1059,7 @@ struct Index {
AmplifyPopup({
amplifyImgIndex: this.amplifiedImgIndex,
confirmAmplify: async (amplify) => {
if (this.setManualProjectFn(this.amplifiedImgIndex)) {
clearTimeout(this.popTimer)
this.popTimer = null
this.popTimer = setTimeout(async () => {
@ -1067,6 +1068,12 @@ struct Index {
this.isAmplifyPopShow = false
this.popTimer = null;
}, 500)
} else {
Prompt.showToast({
message: `有项目未结束,不允许人工操作!`,
duration: 8000
});
}
},
closeAmplifyPop: () => {
this.isAmplifyPopShow = false