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 @@
-
-
+
频道列表 @@ -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 @@