支付完成后跳转群消息

This commit is contained in:
yml
2026-06-18 16:06:39 +08:00
parent 275663c4ea
commit a0b5ed2efb
5 changed files with 42 additions and 13 deletions
@@ -28,7 +28,7 @@ export interface UseOrderPaymentCashierOptions {
* Mobile 用 vant dialog(带"知道了"按钮)做强提示,PC 用普通提示即可。
*/
notifyFallback: (message: string) => void
/** 支付完成的提示文案,默认 "支付成功,等待号主交接"。 */
/** 支付完成的提示文案,默认 "支付成功,正在进入群消息"。 */
paidMessage?: string
/** 轮询间隔,PC 3000 / Mobile 2500。 */
pollIntervalMs?: number
@@ -60,7 +60,7 @@ export function useOrderPaymentCashier(options: UseOrderPaymentCashierOptions) {
const pollIntervalMs = options.pollIntervalMs ?? 2500
const qrWidth = options.qrWidth ?? 220
const paidMessage = options.paidMessage ?? '支付成功,等待号主交接'
const paidMessage = options.paidMessage ?? '支付成功,正在进入群消息'
const payURL = computed(() => paymentPayURL(activePayment.value))