This commit is contained in:
X1627315083
2024-09-13 10:07:00 +08:00
parent 0d398baf6e
commit beaed40f15
2 changed files with 2 additions and 6 deletions

View File

@@ -274,8 +274,6 @@ export default defineComponent({
herf = `${data.url}?${data.alipay_order_string}` herf = `${data.url}?${data.alipay_order_string}`
// this.newWindow.location.href = herf; // this.newWindow.location.href = herf;
} }
console.log(herf);
if(this.newWindow){ if(this.newWindow){
this.newWindow.location.href = herf this.newWindow.location.href = herf
}else{ }else{

View File

@@ -25,10 +25,8 @@ flexible()
import { getCookie, setCookie } from "@/tool/cookie"; import { getCookie, setCookie } from "@/tool/cookie";
router.beforeEach((to, from, next) => { router.beforeEach((to, from, next) => {
if(to.name == "login"){ if((to.name == "login" && !from.name) || (to.name == 'SquareWorks' && !from.name) || (to.name == 'works' && !from.name)){
if(window.location.search.substring(1) != 'oldHis'){ isMurmur()
isMurmur()
}
} }
next(); next();
}); });