fix(SCRM-4787): 还原 上一次页面的滚动记录
@@ -90,6 +90,9 @@ export default {
}),
},
created() {
+ if(window?.history?.scrollRestoration) {
+ window.history.scrollRestoration = 'manual';
+ }
// 埋点本地化
this.preUrl = uni.getStorageSync('previousUrl');
this.$store.dispatch('invoice/init')
+ if(window.history?.scrollRestoration) {