#140·mpvue

同一路由切换时,上一次的页面数据会保留

作者: ghost创建于 2018年3月20日更新于 2024年12月24日
标签important

When the same level of routing enters, exits, and then enters another routing, the data will first display the previous one, and then flash to display the new data. This problem occurs in both onShow and mounted in the lifecycle. It does not occur in mini programs directly.

内容来源: Meituan-Dianping/mpvue