diff --git a/pages/index.vue b/pages/index.vue index a1e1243..a2cd801 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -796,13 +796,14 @@ export default { this.params.size = `${this.params.width}x${this.params.height}`; }, selectedType() { - this.params.url = null; + if(this.params.urls && this.params.url && this.selectedType === 'multiple-imgs') { + this.params.urls = [ + { + url: this.params.url, + }, + ]; + } this.result = null; - this.params.urls = [ - { - url: null, - }, - ]; }, }, };