添加直播间功能,直播间右上角人数需要完善

This commit is contained in:
cbb
2026-01-14 17:57:17 +08:00
parent 0c88d29dce
commit db1b797b68
10 changed files with 632 additions and 87 deletions

View File

@@ -150,12 +150,18 @@ const handleError = (statusCode, data) => {
})
break
case 500:
uni.showToast({
title: data.msg || '服务器内部错误',
icon: 'none',
duration: 2000,
mask: true
uni.showModal({
title: `${statusCode}提示`,
content: data.msg || '服务器内部错误',
showCancel: false,
confirmText: '确定'
})
// uni.showToast({
// title: data.msg || '服务器内部错误',
// icon: 'none',
// duration: 2000,
// mask: true
// })
break
default:
uni.showToast({