处理语音时长显示格式
Some checks are pending
Check / lint (push) Waiting to run
Check / typecheck (push) Waiting to run
Check / build (build, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build, 18.x, windows-latest) (push) Waiting to run
Check / build (build:app, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:app, 18.x, windows-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, ubuntu-latest) (push) Waiting to run
Check / build (build:mp-weixin, 18.x, windows-latest) (push) Waiting to run

This commit is contained in:
wangyifeng 2025-06-30 10:30:43 +08:00
parent d3164014ee
commit 16c881acfd

View File

@ -128,7 +128,7 @@ const formatTime = (value: number = 0) => {
props?.data?.user_id == talkParams.uid ? 'mr-[8rpx]' : 'ml-[8rpx]' props?.data?.user_id == talkParams.uid ? 'mr-[8rpx]' : 'ml-[8rpx]'
" "
> >
{{ props?.extra?.duration }}s {{ Math.ceil(props?.extra?.duration / 1000) }}s
</div> </div>
<a-trumpet <a-trumpet
v-if="props?.data?.user_id == talkParams.uid" v-if="props?.data?.user_id == talkParams.uid"