diff --git a/App.vue b/App.vue index bc99901..d49baa6 100644 --- a/App.vue +++ b/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(() => {}); } }, } diff --git a/mixins/history.js b/mixins/history.js index cc605ec..7bfdab7 100644 --- a/mixins/history.js +++ b/mixins/history.js @@ -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=>{}) }, } }; \ No newline at end of file