feat: 会员商品收藏

(cherry picked from commit 9a3253ad20)
This commit is contained in:
dongshanshan
2023-10-31 16:53:44 +08:00
committed by shizhong
parent 97a94cd29f
commit 525e511670
6 changed files with 253 additions and 3 deletions

View File

@ -90,6 +90,18 @@ export const useMessage = () => {
cancelButtonText: t('common.cancel'),
type: 'warning'
})
},
// 取消收藏窗体
delStarConfirm(content?: string, tip?: string) {
return ElMessageBox.confirm(
content ? content : t('common.confirmDelStar'),
tip ? tip : t('common.confirmTitle'),
{
confirmButtonText: t('common.ok'),
cancelButtonText: t('common.cancel'),
type: 'warning'
}
)
}
}
}