mirror of
https://git.joinsharkey.org/Sharkey/Sharkey.git
synced 2024-12-02 20:03:09 +02:00
Fix bug
This commit is contained in:
parent
83bbd6b64f
commit
39d05b75db
1 changed files with 6 additions and 3 deletions
|
@ -53,11 +53,14 @@ export default define({
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
setting() {
|
setting() {
|
||||||
this.props.url =window.prompt('URL', this.props.url);
|
const url = window.prompt('URL', this.props.url);
|
||||||
|
if (url && url != '') {
|
||||||
|
this.props.url = url;
|
||||||
this.save();
|
this.save();
|
||||||
this.fetch();
|
this.fetch();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
});
|
});
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue