We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8504f69 commit 459bef2Copy full SHA for 459bef2
src/components/Screenfull/index.vue
@@ -22,7 +22,7 @@ export default {
22
},
23
methods: {
24
click() {
25
- if (!screenfull.enabled) {
+ if (!screenfull.isEnabled) {
26
this.$message({
27
message: 'you browser can not work',
28
type: 'warning'
@@ -35,12 +35,12 @@ export default {
35
this.isFullscreen = screenfull.isFullscreen
36
37
init() {
38
- if (screenfull.enabled) {
+ if (screenfull.isEnabled) {
39
screenfull.on('change', this.change)
40
}
41
42
destroy() {
43
44
screenfull.off('change', this.change)
45
46
0 commit comments