Ver código fonte

延长IA生图超时时长,50秒太低了,火爆中经常出现

zjs_project 2 meses atrás
pai
commit
5fdc4dcbbd
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/components/newQCCom/viewMask/viewMask.vue

+ 1 - 1
src/components/newQCCom/viewMask/viewMask.vue

@@ -697,7 +697,7 @@
 				let unit = 768 / this.screenWidth;
 				this.imageWidth = parseInt((this.screenWidth * unit).toFixed());
 				this.imageHeight = parseInt((this.$parent.canvasHeight * unit).toFixed());
-				this.timeOut = this.modelType==1? 20000: 50000;
+				this.timeOut = this.modelType==1? 20*1000: 20*60*1000;
 				var parmas = {
 					negativePrompt: noPromot,
 					prompt: prompt,