This commit is contained in:
parent
dc68db9a45
commit
21cdb7a560
12
App.vue
12
App.vue
|
@ -117,9 +117,9 @@
|
|||
if (this.$store.state.app.token) {
|
||||
// 浏览记录
|
||||
// #ifdef H5
|
||||
history({
|
||||
page: location.pathname + location.search,
|
||||
}).then(() => {});
|
||||
// history({
|
||||
// page: location.pathname + location.search,
|
||||
// }).then(() => {});
|
||||
//#endif
|
||||
};
|
||||
// #ifndef H5
|
||||
|
@ -229,9 +229,9 @@
|
|||
$route(n) {
|
||||
if (this.$store.state.app.token) {
|
||||
// 浏览记录
|
||||
history({
|
||||
page: location.pathname + location.search,
|
||||
}).then(() => {});
|
||||
// history({
|
||||
// page: location.pathname + location.search,
|
||||
// }).then(() => {});
|
||||
}
|
||||
},
|
||||
}
|
||||
|
|
|
@ -9,9 +9,9 @@ export default {
|
|||
methods: {
|
||||
getHistory() {
|
||||
console.log(this.$util.getNowUrl(),'page')
|
||||
history({
|
||||
page:this.$util.getNowUrl()
|
||||
}).then(res=>{})
|
||||
// history({
|
||||
// page:this.$util.getNowUrl()
|
||||
// }).then(res=>{})
|
||||
},
|
||||
}
|
||||
};
|
Loading…
Reference in New Issue