This commit is contained in:
faiz 2024-05-31 17:27:38 +08:00
parent dc68db9a45
commit 21cdb7a560
2 changed files with 9 additions and 9 deletions

12
App.vue
View File

@ -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(() => {});
}
},
}

View File

@ -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=>{})
},
}
};