diff --git a/package.json b/package.json
index 4837d30..83ec29f 100644
--- a/package.json
+++ b/package.json
@@ -40,7 +40,6 @@
"sortablejs": "^1.12.0",
"v-fit-columns": "^0.2.0",
"vue": "^2.6.12",
- "vue-clickaway": "^2.2.2",
"vue-infinite-loading": "^2.4.5",
"vue-waterfall-plugin": "^1.1.0",
"vuedraggable": "^2.24.3",
diff --git a/src/components/Play.vue b/src/components/Play.vue
index 95a1e46..435e8d2 100644
--- a/src/components/Play.vue
+++ b/src/components/Play.vue
@@ -175,24 +175,24 @@
-
+
-
+
- 清空
- 无数据
- 【{{m.site}}】{{m.name}} 第{{m.index+1}}集删除
-
+
- {{m.desc}} -- [ {{m.key}} ]
-
+
- 无数据
- {{m.name}} - [{{m.site.name}}]
-
+
- 当前频道已关闭
-
{{ channel.id === video.iptv.id ? channel.name + '[当前]' : channel.name }}
@@ -203,7 +203,7 @@
-
+
频道列表
@@ -240,7 +240,7 @@ import zy from '../lib/site/tools'
import Player from 'xgplayer'
import HlsJsPlayer from 'xgplayer-hls.js'
import mt from 'mousetrap'
-import { directive as onClickaway } from 'vue-clickaway'
+import Clickoutside from 'element-ui/src/utils/clickoutside'
import { exec, execFile } from 'child_process'
const { remote, clipboard } = require('electron')
@@ -369,7 +369,7 @@ export default {
}
},
directives: {
- onClickaway: onClickaway
+ Clickoutside
},
computed: {
view: {
@@ -1040,7 +1040,6 @@ export default {
this.getOtherSites()
this.right.currentTime = this.xg.currentTime
} else {
- this.state.showChannelList = false
this.right.type = 'sources'
}
this.right.show = true
diff --git a/src/components/Share.vue b/src/components/Share.vue
index d976128..42efdeb 100644
--- a/src/components/Share.vue
+++ b/src/components/Share.vue
@@ -1,5 +1,5 @@
-
+
@@ -22,7 +22,7 @@ import { mapMutations } from 'vuex'
import QrcodeVue from 'qrcode.vue'
import html2canvas from 'html2canvas'
import zy from '../lib/site/tools'
-import { directive as onClickaway } from 'vue-clickaway'
+import Clickoutside from 'element-ui/src/utils/clickoutside'
const { clipboard, nativeImage } = require('electron')
export default {
name: 'share',
@@ -58,7 +58,7 @@ export default {
}
},
directives: {
- onClickaway: onClickaway
+ Clickoutside
},
methods: {
...mapMutations(['SET_SHARE']),