Skip to content

Commit 3ceccd2

Browse files
committed
update: API 修复录音播放时,点击垃圾桶导致界面空白问题,录音停止后按钮偏左问题
1 parent 414c84d commit 3ceccd2

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

‎pages/API/voice/voice.vue‎

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,6 @@
3232
<text class="time-small">{{formatedRecordTime}}</text>
3333
</view>
3434
<view class="page-body-buttons">
35-
<view class="page-body-button"></view>
3635
<view class="page-body-button" @click="playVoice">
3736
<image src="../../../static/play.png"></image>
3837
</view>
@@ -122,8 +121,8 @@
122121
},
123122
playVoice() {
124123
console.log('play voice');
124+
this.playing = true;
125125
playTimeInterval = setInterval(() => {
126-
this.playing = true;
127126
this.playTime += 1;
128127
this.formatedPlayTime = util.formatTime(this.playTime);
129128
}, 1000)

0 commit comments

Comments
 (0)