This commit is contained in:
syuilo 2018-05-28 15:10:57 +09:00
parent 83bbd6b64f
commit 39d05b75db
1 changed files with 6 additions and 3 deletions

View File

@ -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();
}
}
}
});