From c105a63c8bae82958e76d3a36a6e24893bdbed6f Mon Sep 17 00:00:00 2001
From: RuoYi <yzz_ivy@163.com>
Date: Mon, 31 May 2021 12:16:27 +0800
Subject: [PATCH] 添加bat脚本执行应用
---
ruoyi-ui/src/components/Screenfull/index.vue | 11 ++++-------
1 files changed, 4 insertions(+), 7 deletions(-)
diff --git a/ruoyi-ui/src/components/Screenfull/index.vue b/ruoyi-ui/src/components/Screenfull/index.vue
index 099d74d..85937c9 100644
--- a/ruoyi-ui/src/components/Screenfull/index.vue
+++ b/ruoyi-ui/src/components/Screenfull/index.vue
@@ -22,11 +22,8 @@
},
methods: {
click() {
- if (!screenfull.enabled) {
- this.$message({
- message: 'you browser can not work',
- type: 'warning'
- })
+ if (!screenfull.isEnabled) {
+ this.$message({ message: '你的浏览器不支持全屏', type: 'warning' })
return false
}
screenfull.toggle()
@@ -35,12 +32,12 @@
this.isFullscreen = screenfull.isFullscreen
},
init() {
- if (screenfull.enabled) {
+ if (screenfull.isEnabled) {
screenfull.on('change', this.change)
}
},
destroy() {
- if (screenfull.enabled) {
+ if (screenfull.isEnabled) {
screenfull.off('change', this.change)
}
}
--
Gitblit v1.9.2