mirror of
https://iceshrimp.dev/limepotato/jormungandr-bite.git
synced 2024-11-26 11:57:34 -07:00
Fix bug
This commit is contained in:
parent
163345e785
commit
b7aa241945
1 changed files with 6 additions and 3 deletions
|
@ -53,9 +53,12 @@ export default define({
|
|||
});
|
||||
},
|
||||
setting() {
|
||||
this.props.url =window.prompt('URL', this.props.url);
|
||||
this.save();
|
||||
this.fetch();
|
||||
const url = window.prompt('URL', this.props.url);
|
||||
if (url && url != '') {
|
||||
this.props.url = url;
|
||||
this.save();
|
||||
this.fetch();
|
||||
}
|
||||
}
|
||||
}
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue