Commit 2ea6cdb5 by 前端

兼容

1 parent 89d743b6
...@@ -24,7 +24,7 @@ export default { ...@@ -24,7 +24,7 @@ export default {
async init() { async init() {
this.wv = await this.initWebview() this.wv = await this.initWebview()
await this.enQueue() await this.enQueue()
this.polling() this.pollingLater(interval)
}, },
/** /**
* 处理消息函数 * 处理消息函数
......
...@@ -150,6 +150,9 @@ class RecordManager { ...@@ -150,6 +150,9 @@ class RecordManager {
let path = await utils.getFileSaveFolderOnClient() let path = await utils.getFileSaveFolderOnClient()
try { try {
let records = this.getRecords() let records = this.getRecords()
if(typeof records === 'string') {
records = JSON.parse(records)
}
records.forEach(i => { records.forEach(i => {
if (i.recordUrlList && i.recordUrlList.length) { if (i.recordUrlList && i.recordUrlList.length) {
i.recordUrlList.forEach(async j => { i.recordUrlList.forEach(async j => {
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!