Commit d04cd64b by 前端

缓存

1 parent 4979ebbe
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-04-08 11:28:48
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-10-18 16:26:28
* @LastEditTime: 2024-10-18 16:33:57
* @FilePath: \gl_tape\mixin\click.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -52,8 +52,8 @@ export default {
...mapState('audio', ['receptionStatus', 'booksList', 'audioInfo']),
...mapState(['user.customerInfo']),
changeData() {
const customerInfo = this.$store.state.user.customerInfo
const booksList = this.booksList
const customerInfo = this.$store.state.user?.customerInfo || {}
const booksList = this.booksList || []
const receptionStatus = this.receptionStatus
return { customerInfo, booksList, receptionStatus }
}
......
......@@ -2,7 +2,7 @@
* @Author: 前端 qianduan01@didihu.com.cn
* @Date: 2024-10-14 17:38:35
* @LastEditors: 前端 qianduan01@didihu.com.cn
* @LastEditTime: 2024-10-18 16:29:34
* @LastEditTime: 2024-10-18 16:32:51
* @FilePath: \gl-tape\utils\recordManager\interruptRecord.js
* @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
*/
......@@ -14,9 +14,9 @@ class InterruptRecord extends RecordManager {
constructor() {
super()
// console.log(store)
// storageApi.removeRecords('preRecordList')
// storageApi.removeRecords('preRecordId')
// storageApi.removeRecords('recordList')
storageApi.removeRecords('preRecordList')
storageApi.removeRecords('preRecordId')
storageApi.removeRecords('recordList')
}
records = {}
pathName = null
......@@ -90,9 +90,6 @@ class InterruptRecord extends RecordManager {
const params = { ...records, ...this.records }
this.updateRecord(params)
}
updatePreAudio(params) {
this.updateRecord(params)
}
/**
* 更新参数
*
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!