This commit is contained in:
syuilo
2020-02-06 17:21:28 +09:00
parent b940da45af
commit 69802a9f00
4 changed files with 14 additions and 0 deletions

View File

@@ -222,6 +222,10 @@ export default Vue.extend({
this.$root.stream.on('_disconnected_', () => {
if (!this.disconnectedDialog) {
if (this.$store.state.device.autoReload) {
location.reload();
return;
}
this.disconnectedDialog = this.$root.dialog({
type: 'warning',
showCancelButton: true,