feat(admin): modernize business views including listings, review, users, orders, pickups, and mohong
This commit is contained in:
@@ -306,7 +306,9 @@ export function useOrderActions(options: UseOrderActionsOptions) {
|
||||
cancelling.value = true
|
||||
try {
|
||||
await cancelOrder(order.value.id)
|
||||
options.notifySuccess(needsRefundReview ? '退款申请已提交,等待客服审核' : '订单已取消,账号已释放')
|
||||
options.notifySuccess(
|
||||
needsRefundReview ? '退款申请已提交,等待客服审核' : '订单已取消,账号已释放'
|
||||
)
|
||||
await router.push(options.ordersPath)
|
||||
} catch (error) {
|
||||
options.notifyError(readError(error, '取消失败'))
|
||||
|
||||
Reference in New Issue
Block a user