mirror of
https://github.com/PanJiaChen/vue-element-admin.git
synced 2025-04-06 03:57:53 +08:00
fix screenfull bug
This commit is contained in:
parent
cb53ba891c
commit
95ef202d20
@ -35,14 +35,7 @@
|
||||
});
|
||||
return false;
|
||||
}
|
||||
|
||||
if (this.isFullscreen) {
|
||||
screenfull.exit();
|
||||
this.isFullscreen = false;
|
||||
} else {
|
||||
screenfull.request();
|
||||
this.isFullscreen = true;
|
||||
}
|
||||
screenfull.toggle();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user