fix
This commit is contained in:
@@ -274,8 +274,6 @@ export default defineComponent({
|
||||
herf = `${data.url}?${data.alipay_order_string}`
|
||||
// this.newWindow.location.href = herf;
|
||||
}
|
||||
console.log(herf);
|
||||
|
||||
if(this.newWindow){
|
||||
this.newWindow.location.href = herf
|
||||
}else{
|
||||
|
||||
@@ -25,10 +25,8 @@ flexible()
|
||||
|
||||
import { getCookie, setCookie } from "@/tool/cookie";
|
||||
router.beforeEach((to, from, next) => {
|
||||
if(to.name == "login"){
|
||||
if(window.location.search.substring(1) != 'oldHis'){
|
||||
isMurmur()
|
||||
}
|
||||
if((to.name == "login" && !from.name) || (to.name == 'SquareWorks' && !from.name) || (to.name == 'works' && !from.name)){
|
||||
isMurmur()
|
||||
}
|
||||
next();
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user