This commit is contained in:
bobobobo
2026-02-01 17:01:16 +08:00
parent 69bb850559
commit f4a51db1ae
12 changed files with 1387 additions and 1100 deletions

View File

@@ -174,21 +174,28 @@
* @param data
*/
const onConfirm = async (state, item) => {
const show = await showDialog(
'提示',
`确定分享${props.type == 1 ? '直播间' : '商品'}吗?`
)
if (!show) {
return
}
if (state) {
multiSelectShare()
if (props.type == 2) {
const show = await showDialog(
'提示',
`确定分享${props.type == 1 ? '直播间' : '商品'}吗?`
)
if (!show) {
return
}
if (state) {
multiSelectShare()
} else {
showLoading()
await sendCustomData(item)
hideLoading()
await showToast('分享成功', 'success')
isShow.value = false
}
} else {
showLoading()
await sendCustomData(item)
hideLoading()
await showToast('分享成功', 'success')
isShow.value = false
await showDialog(
'提示',
`UI需要调整`
)
}
}