|
|
@@ -32,9 +32,9 @@ export default {
|
|
|
this.data = response;
|
|
|
setToken(response);
|
|
|
if (this.isMobile()) {
|
|
|
- // this.$router.replace({ name: 'MobileBookPreview', params: { book_id: this.data.book_id } });
|
|
|
+ // this.$router.replace({ name: 'MobileBookPreview', query: { book_id: this.data.book_id } });
|
|
|
} else {
|
|
|
- this.$router.replace({ name: 'BookPreview', params: { book_id: this.data.book_id } });
|
|
|
+ this.$router.replace({ name: 'BookPreview', query: { book_id: this.data.book_id } });
|
|
|
}
|
|
|
})
|
|
|
.catch(() => {});
|