From a297aca8121d4bf697da35d8d0ec168324d265d1 Mon Sep 17 00:00:00 2001 From: haiyangcui Date: Sun, 27 Dec 2020 17:36:49 +0100 Subject: [PATCH] =?UTF-8?q?=E7=9B=B4=E6=8E=A5=E5=9C=A8=E5=86=85=E5=B5=8Cif?= =?UTF-8?q?rame=E4=B8=AD=E6=92=AD=E6=94=BE=E9=98=BF=E9=87=8C=E4=BA=91?= =?UTF-8?q?=E8=B5=84=E6=BA=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/Play.vue | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/components/Play.vue b/src/components/Play.vue index 9cc64ff..7d66a9f 100644 --- a/src/components/Play.vue +++ b/src/components/Play.vue @@ -248,7 +248,7 @@ import mt from 'mousetrap' import Clickoutside from 'element-ui/src/utils/clickoutside' import { exec, execFile } from 'child_process' -const { shell, remote, clipboard } = require('electron') +const { remote, clipboard } = require('electron') const win = remote.getCurrentWindow() const PinyinMatch = require('pinyin-match') @@ -583,7 +583,7 @@ export default { if (!url.endsWith('.m3u8')) { const currentSite = await sites.find({ key: this.video.key }) if (currentSite.api.includes('www.cqzyw.net')) { - shell.openExternal('http://vip.cqzyw.net/?url=' + url) + this.onlineUrl = 'http://vip.cqzyw.net/?url=' + url } else { this.onlineUrl = 'https://jx.7kjx.com/?url=' + url }