Explorar el Código

生成海报错误处理

jwyu hace 2 años
padre
commit
88ed9c9b94
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      components/sharePoster/sharePoster.vue

+ 3 - 1
components/sharePoster/sharePoster.vue

@@ -40,9 +40,11 @@ export default {
                 pars:JSON.stringify(this.shareData.data)
             })
             if(res.code==200){
-                this.show=false
                 this.posterImg=res.data
+                this.show=false
                 this.showPoster=true
+            }else{
+                this.show=false 
             }
         }
     }