更新:我的订单兼容多种商品订单(电子书、课程、vip)显示

This commit is contained in:
2025-11-24 10:21:02 +08:00
parent ac60a863e3
commit b357225703
14 changed files with 307 additions and 165 deletions

View File

@@ -43,7 +43,7 @@ export const makePhoneCall = (phoneNumber: string, title: string) => {
/**
* 复制到剪贴板
*/
export const copyToClipboard = (content: string, title: string, t: Function) => {
export const copyToClipboard = (content: string, title: string = '') => {
uni.setClipboardData({
data: content,
success: () => {
@@ -52,7 +52,7 @@ export const copyToClipboard = (content: string, title: string, t: Function) =>
icon: 'none'
})
},
fail: (error) => {
fail: (error: any) => {
console.error('复制失败:', error)
}
})