bug fixed
This commit is contained in:
parent
6e612381af
commit
ad7e2f6eca
|
@ -18,19 +18,18 @@ export class GameMainComponent implements OnInit {
|
||||||
|
|
||||||
ngOnInit(): void {
|
ngOnInit(): void {
|
||||||
this.__activatedRoute.queryParams.subscribe((params) => {
|
this.__activatedRoute.queryParams.subscribe((params) => {
|
||||||
console.log(params); // { orderby: "price" }
|
// console.log(params); // { orderby: "price" }
|
||||||
const vendorKey = params['vendor_key'];
|
// const vendorKey = params['vendor_key'];
|
||||||
const gameKey = params['game_key'];
|
// const gameKey = params['game_key'];
|
||||||
|
// let r = this.__gameService
|
||||||
let r = this.__gameService
|
// .getGameUrl(vendorKey, gameKey)
|
||||||
.getGameUrl(vendorKey, gameKey)
|
// .then((r) => {
|
||||||
.then((r) => {
|
// console.log('success', r.getUrl());
|
||||||
console.log('success', r.getUrl());
|
// window.location.href = r.getUrl();
|
||||||
window.location.href = r.getUrl();
|
// })
|
||||||
})
|
// .catch((e) => {
|
||||||
.catch((e) => {
|
// console.log('fail', e);
|
||||||
console.log('fail', e);
|
// });
|
||||||
});
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue
Block a user