fix
This commit is contained in:
@@ -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{
|
||||||
|
|||||||
@@ -25,11 +25,9 @@ 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();
|
||||||
});
|
});
|
||||||
async function isMurmur() {
|
async function isMurmur() {
|
||||||
|
|||||||
Reference in New Issue
Block a user