价格展示相关优化,拼团活动返回不刷新问题处理

This commit is contained in:
Chopper
2021-09-03 09:40:57 +08:00
parent 07445e42e3
commit 647ed90eac
3 changed files with 117 additions and 52 deletions

View File

@@ -285,13 +285,6 @@ export default {
mounted () {
this.init();
},
// 如果是从详情页返回列表页修改列表页keepAlive为true确保不刷新页面
beforeRouteLeave(to, from, next){
if(to.name === 'pintuan') {
to.meta.keepAlive = true
}
next()
}
};
</script>
<style lang="scss" scoped>