From e3bc5191280f1ee21837bdf2be097df771bd37c2 Mon Sep 17 00:00:00 2001 From: buvta <12312540+buvta@users.noreply.github.com> Date: Fri, 22 Jan 2021 18:52:21 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=86=E5=8F=B2=E5=AF=BC=E5=85=A5=E5=85=BC?= =?UTF-8?q?=E5=AE=B9=E8=80=81=E7=89=88=E6=95=B0=E6=8D=AEm3u8List?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/components/History.vue | 1 + 1 file changed, 1 insertion(+) diff --git a/src/components/History.vue b/src/components/History.vue index ed7bb26..c4fe6d1 100644 --- a/src/components/History.vue +++ b/src/components/History.vue @@ -279,6 +279,7 @@ export default { result.filePaths.forEach(file => { const str = fs.readFileSync(file) const json = JSON.parse(str) + json.forEach(record => { if (record.detail.m3u8List) record.detail.fullList = [].concat(record.detail.m3u8List) }) history.bulkAdd(json).then(res => { this.$message.success('导入成功') this.getAllhistory()