支付完成后跳转路径修改
This commit is contained in:
1 parent
dee8d2e21f
commit
c0ec136730
2 files changed
+5
-4
No files matched your search
@@ -39,7 +39,7 @@
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view v-if="getLaunchParam()" class="p-40rpx fixed bottom-30rpx left-0 right-0 font-bold">
|
||||
<view class="p-40rpx fixed bottom-30rpx left-0 right-0 font-bold">
|
||||
<tm-button :block="true" @click="goBack">完成</tm-button>
|
||||
</view>
|
||||
</view>
|
||||
@@ -50,7 +50,6 @@ import { ref } from "vue"
|
||||
import { onShow } from "@dcloudio/uni-app"
|
||||
import { router } from "@@/index"
|
||||
import { usePayStore } from "@/sheep/stores/pay"
|
||||
import getLaunchParam from "@/sheep/utils/getLaunchParam"
|
||||
|
||||
const payData = ref<{ id?: string; name?: string; customPrice?: number }>({})
|
||||
|
||||
@@ -60,6 +59,8 @@ onShow(() => {
|
||||
})
|
||||
|
||||
const goBack = () => {
|
||||
router.jump("/pages/tabbar/my", {}, 2)
|
||||
const url: string = window.location.href.split("#")[0] + "?launchParam=coopMerchant#/pages/tabbar/order"
|
||||
window.location.replace(url)
|
||||
// router.jump(url, {}, 2)
|
||||
}
|
||||
</script>
|
||||
@@ -52,7 +52,7 @@
|
||||
@confirm="thirdAppJump()"
|
||||
@cancel="state.show = false"
|
||||
>
|
||||
<tm-text font-size="30" color="#999999">您即将离开智慧后勤应用并跳转到第三方应用,请注意账号财产安全</tm-text>
|
||||
<tm-text font-size="30" color="#999999">您即将离开智慧后勤应用并跳转到第三方应用,请注意个人隐私和账号财产安全</tm-text>
|
||||
</tm-modal>
|
||||
</z-paging>
|
||||
</crud-layout>
|
||||
|
||||
Reference in new issue
Block a user