| | |
| | | import { useSystemStoreWithOut } from '@/stores/modules/system'; |
| | | import { query2object, object2query } from '@life-payment/utils'; |
| | | import { blLifeRecharge } from './blLifeRecharge'; |
| | | import { isInAlipay } from '@/utils/env'; |
| | | |
| | | export function goBack(delta = 1) { |
| | | const pages = Taro.getCurrentPages(); |
| | | |
| | | const systemStore = useSystemStoreWithOut(); |
| | | |
| | | if (pages.length > 1) { |
| | |
| | | url: pathAddExtraParam(option.url, { channelId: blLifeRecharge.accountModel.channlesNum }), |
| | | }); |
| | | } |
| | | |
| | | static redirectTo(option: Taro.redirectTo.Option) { |
| | | return Taro.redirectTo({ |
| | | ...option, |
| | | url: pathAddExtraParam(option.url, { channelId: blLifeRecharge.accountModel.channlesNum }), |
| | | }); |
| | | } |
| | | } |