Commit 2b0548f4 authored by guozhiwei's avatar guozhiwei

fix: 问题修复

parent cccf8016
import cookies from '@/service/cookieStorage.service'; import cookies from '@/service/cookieStorage.service';
import { isApp } from '@/service/validation.service';
export const goUrlExtends = { export const goUrlExtends = {
methods: { methods: {
goHome(payStatus) { goHome(payStatus) {
...@@ -28,6 +29,10 @@ export const goUrlExtends = { ...@@ -28,6 +29,10 @@ export const goUrlExtends = {
const returnUrl = this.getReturnUrl(); const returnUrl = this.getReturnUrl();
setTimeout(() => { setTimeout(() => {
if (returnUrl) { if (returnUrl) {
if (isApp && returnUrl === 'closeWindows') {
this.util.closeBrowser();
return;
}
window.location.replace(`${returnUrl}/orderList`); window.location.replace(`${returnUrl}/orderList`);
return; return;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment