Skip to content
This repository has been archived by the owner on Mar 10, 2024. It is now read-only.

Commit

Permalink
fix: #52 #47 dont clear url when switching
Browse files Browse the repository at this point in the history
  • Loading branch information
Flowko committed Jun 15, 2023
1 parent c278081 commit 022cc49
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pages/index.vue
Expand Up @@ -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,
},
];
},
},
};
Expand Down

0 comments on commit 022cc49

Please sign in to comment.