Commit fb1ebcd9 by 李伟康

refactor(HomeFrame): 优化消息提示功能

- 移除 LeftSide 组件中的 readCount 重置逻辑
- 在 HomeFrame 组件中添加 closeTips 方法
- 删除 receptionDetail 页面中的无用 console.log 和空行
1 parent 38a9689b
......@@ -222,7 +222,8 @@ export default {
if (this.tabIndex == index && index !== 3) return;
let jumpUrl
if (item.isTrack) {
this.readCount = 0
// this.readCount = 0
this.$emit('closeTips')
try {
jumpUrl = await this.findBeiSenSSOToken()
} catch (error) {
......
......@@ -11,6 +11,7 @@
@changeTab="changeTab"
@stopAudio="stopAudio"
@showReadCountTips="showReadCountTips"
@closeTips="closeTips"
/>
<view
class="tips-box"
......
......@@ -203,9 +203,7 @@ export default {
},
setAudio (recordingUrl) {
this.qualityAudio = uni.createInnerAudioContext()
console.log(recordingUrl)
this.qualityAudio.src = recordingUrl
this.qualityAudio.onPause(() => {
this.status = 'pause'
})
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!